2024年1月4日 星期四

install docker on ubuntu2204

 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/

沒有留言:

張貼留言