Sign inSign up

tghastings/code-esaas

By tghastings

•Updated almost 4 years ago

Image
3

9.6K

tghastings/code-esaas repository overview

This repository contains Dockerfile of code IDE running on Ubuntu for Docker's automated build published to the public Docker Hub Registry.

⁠Step 1: Docker Installation

⁠Windows

⁠Windows Pro / Education Editions
https://docs.docker.com/docker-for-windows/install/
⁠Windows Home
https://docs.docker.com/docker-for-windows/install-windows-home/

⁠MacOS

https://docs.docker.com/docker-for-mac/install/

⁠Linux

⁠CentOS
https://docs.docker.com/install/linux/docker-ce/centos/
⁠Debian
https://docs.docker.com/install/linux/docker-ce/debian/
⁠Fedora
https://docs.docker.com/install/linux/docker-ce/fedora/
⁠Ubuntu
https://docs.docker.com/install/linux/docker-ce/ubuntu/
⁠Binaries
https://docs.docker.com/install/linux/docker-ce/binaries/

⁠Step 2: Pull Image

Download automated build from public Docker Hub Registry:

docker pull tghastings/code-esaas

⁠Step 3: Running

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

⁠Step 4: Accessing Code

⁠Windows, MacOS, & Linux

http://localhost/?folder=/root

⁠Step 5: Rails Usage

You can now clone a rails repo or create a new application using the code terminal:

rails new app_name

⁠Step 6: Running the Rails Application

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

⁠Step 7: Accessing The Rails Application

⁠Windows, MacOS, & Linux

http://localhost:3000

Tag summary

Content type

Image

Digest

sha256:87e872e5c…

Size

620.2 MB

Last updated

almost 4 years ago

docker pull tghastings/code-esaas