Docker Guides

Basic docker walk-arounds

Make sure docker is installed correctly. Use below commands to do it

sudo apt update
sudo apt upgrade
sudo apt install docker.io
sudo apt install docker-compose

If you are given docker files to spin up, look for docker-compose.yaml and open up the terminal in the same directory. This is required in order to spin up the docker environment. Run the below command while in the same directory.

sudo docker-compose up
sudo docker ps -a //list all containers
sudo docker-compose stop //stops the docker
sudo docker rm [container id] //delete desired containers

Last updated

Was this helpful?