Skip to content

Instantly share code, notes, and snippets.

View wuno's full-sized avatar
💭
Studying blockchain & looking for people to work with

NICHOLAS J DIAZ wuno

💭
Studying blockchain & looking for people to work with
  • WUNO INC.
  • United States
  • X @wuno
View GitHub Profile
@wuno
wuno / Docker shell commands.sh
Last active June 3, 2018 15:09 — forked from bahmutov/Docker shell commands.sh
A personal cheat sheet for running local Node project in a Docker container
# See list of docker virtual machines on the local
# Does not work on all systems
$ docker-machine ls
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1
# Alternative to obtain image IP address
# After running docker ps use the name field output
$ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' [Name Goes Here]
172.17.0.2
# Note the host URL 192.168.99.100 - it will be used later if you used docker-machine!
packages:
- gconf-service
- libasound2
- libatk1.0-0
- libc6
- libcairo2
- libcups2
- libdbus-1-3
- libexpat1
- libfontconfig1