toolness / p5.js-docker

Experimental docker setup to make p5.js + p5js.org development easier.
12 stars 4 forks source link

Add restart steps to Common Issues section #11

Closed kaganjd closed 8 years ago

kaganjd commented 8 years ago

I hit an error after docker-compose up that said: ERROR: failed to create endpoint p5jsdocker_website_1 on network bridge: Bind for 0.0.0.0:8000 failed: port is already allocated

To get it working, I did:

  1. docker-machine stop default
  2. docker-machine start default
  3. docker-machine env
  4. eval "$(docker-machine env default)"
  5. docker-compose up

I'm not sure why this works, but I have to do it a lot with Docker so thought it may be worth adding to the "Common Issues" section

toolness commented 8 years ago

Great idea, thanks @kaganjd! Just added it to the README.