Jun 28, 2024
docker pull <image>
docker run <image>
docker ps
docker stop <container_id>
docker start <container_id>
docker rm <container_id>
docker images
docker rmi <image>
docker exec -it <container_id> sh
or docker exec -it <container_id> bash
docker logs <container_id>
docker-compose up
docker-compose down
docker build -t <image_name>:<tag> .
docker tag <image_id> <repository>/<image_name>:<tag>
docker push <repository>/<image_name>:<tag>