Skip to content

Instantly share code, notes, and snippets.

# .rb extension used only for the coloring purpose.
# run docker container from image
# if image is not present, it will pull the image and run the container.
docker run nginx
# show running container
docker ps
# to stop the docker container