...
Infrastructure Requirements for VM
Minimum hardware requirements:
- 256 MB of RAM
- 1 GB of drive space (although 10 GB is a recommended minimum if running Jenkins as a docker container)
- Ubuntu 1416.04 or higher OS
Recommended hardware configuration:
- 1 GB+ of RAM
- 50 GB+ of drive space
Software requirements:
- Java
- Web browser compatibility
- Docker to be installed if Jenkins server running as a container
...
Code Block | ||
---|---|---|
| ||
sudo apt-get update sudo apt install openjdk-8-jdk |
Install Docker
Step 1: First, in order to ensure the downloads are valid, add the GPG key for the official Docker repository to your system
Code Block | ||
---|---|---|
| ||
curl -s https://apt.dockerproject.org/gpg | sudo apt-key add apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D |
Step 2: Add the Docker repository to APT sources
Code Block | ||
---|---|---|
| ||
sudo add-apt-repository "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" |
Step 3: Next, update the package database with the Docker packages from the newly added repo
Code Block | ||
---|---|---|
| ||
sudo apt-get update |
Step 4 : Make sure you are about to install from the Docker repo instead of the default Ubuntu 16.04 (xenial):
...
Output of apt-cache policy docker-engine
docker-engine
Step 5: Finally, Install Docker
Code Block | ||
---|---|---|
| ||
sudo apt-get install docker-engine=1.13.0-0~ubuntu-xenial |
Step 6: Docker should now be installed, the daemon started, and the process enabled to start on boot. Check that it's running
...