verify that Docker is installed
==> docker version
Docker execute
==>sudo systemctl start docker
verify docker run
==>sudo systemctl status docker
create image(hello-world)
==> docker run hello-world
to confirm if docker is running
==>docker ps
or ==> docker images
install docker compose
==> sudo apt-get install docker-compose
reference from
https://cloudcone.com/docs/article/how-to-install-docker-on-ubuntu-22-04-20-04/
https://cloudinfrastructureservices.co.uk/how-to-install-and-use-docker-compose-on-ubuntu-22-04/
沒有留言:
張貼留言