This repository contains Dockerfile of code IDE running on Ubuntu for Docker's automated build published to the public Docker Hub Registry.
https://docs.docker.com/docker-for-windows/install/
https://docs.docker.com/docker-for-windows/install-windows-home/
https://docs.docker.com/docker-for-mac/install/
https://docs.docker.com/install/linux/docker-ce/centos/
https://docs.docker.com/install/linux/docker-ce/debian/
https://docs.docker.com/install/linux/docker-ce/fedora/
https://docs.docker.com/install/linux/docker-ce/ubuntu/
https://docs.docker.com/install/linux/docker-ce/binaries/
Download automated build from public Docker Hub Registry:
docker pull tghastings/code-esaas
docker run -d -p 80:80 -p 3000:3000 tghastings/code-esaas
You can mount a directory as a volume with the argument *-v /your-path/directory/:/root/ like this :
docker run -d -p 80:80 -p 3000:3000 -v /your-path/local/working/directory/:/root/environment tghastings/code-esaas
http://localhost/?folder=/root
You can now clone a rails repo or create a new application using the code terminal:
rails new app_name
After creating the new application cd into the directory and run the server:
cd app_name
and run:
rails s -b 0.0.0.0
http://localhost:3000