Docker Cloud9 development container (NodeJS/ PHP/ Python/ DockerInDocker)
795
This is a fully fledged cloud9 dev environment with DinD (not using socket so real seperate docker).
Run with:
docker run -itd -v {your dev folder on server}:/workspace -p 0.0.0.0:80:8181 -p 0.0.0.0:3000:3000 -p 0.0.0.0:4000:4000 -p 0.0.0.0:5000:5000 --auth {user}:{password --leave both empty for no auth}
This runs the container and opens it on port 80, while forwarding 3000, 4000 and 5000 for dev apps running in the cloud9 container.
P.S> By default php7.4, python2.7 and node v8 is installed. Use nvm install node to upgrade node and use apt install to upgrade others if needed.
P.S. 2>Dont forget to open the firewall to reach 3000, 4000 and 5000 ie ufw allow 3000 && ufw allow 4000 && ufw allow 5000
Content type
Image
Digest
Size
556.2 MB
Last updated
almost 5 years ago
docker pull rvmn/docker-dev-cloud9