Skip to content

iwag/Dockerfiles

Repository files navigation

My very best Dockerfiles

How to set up docker environment in Mac

I often totally forget about how to setup docker in Mac because I erase docker environment since I don't use it for auite a while. Anyway keep it on my note about the instructions. before this instruction, make sure install virtualbox brew install docker-machine docker brew cask install virtualbox. (if stuck to install virtualbox with osx high sierra, this mighit help you)

docker-machine create default
docker-machine start default
eval $(docker-machine env)
docker version
docker run ...
docker-machine stop default
curl `docker-machine ip`:8080
OR VBoxManage modifyvm "default" --natpf1 "tcp-port53306,tcp,,53306,,53306”;

About

Dockerfiles I work with

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published