#install a few prerequisite
#Add the Docker repository to APT sources:
#update
#cek
You’ll see output like this, although the version number for Docker may be different:
Output of apt-cache policy docker-ce
Notice that docker-ce
is not installed, but the candidate for installation is from the Docker repository for Ubuntu 18.04 (bionic
).
#Finally, install Docker:
Docker should now be installed, the daemon started, and the process enabled to start on boot. Check that it’s running:
- sudo systemctl status docker
-----------install docker-compose
#cek version:
https://github.com/docker/compose/releases
#ubah sesuai versi
#set
#verify
Outputdocker-compose version [versi], build [xxxxx]
No comments:
Post a Comment