Skip to content

Instantly share code, notes, and snippets.

@lgvalle
lgvalle / Docker shell commands.sh
Created Mar 31, 2018 — forked from bahmutov/Docker shell commands.sh
A personal cheat sheet for running local Node project in a Docker container
View Docker shell commands.sh
# See list of docker virtual machines on the local box
$ docker-machine ls
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1
# Note the host URL 192.168.99.100 - it will be used later!
# Build an image from current folder under given image name
$ docker build -t gleb/demo-app .