Skip to content

A personal development ubuntu 18.04 environment using docker. Including ruby w rbenv, rails, node w nvm, ansible, salesforce sfdx, yarn, zsh, go-lang, python3/pip3, ngrok, and a couple custom bash scripts (git-select-recent, killport)

Notifications You must be signed in to change notification settings

jdpaterson/jubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

docker pull jaydp123/jubuntu:latest

How to run:

Helpful Commands:

Run a new container (options explained below):

docker run -it --name jubuntu -p 3001:3000 -p 8001:8000 -v /Users/jaydp123/projects:/home/jubuntu/workdir -v ssh_jub:/root/.ssh jaydp123/jubuntu

Connect to CL from a stopped container

docker start jubuntu docker attach jubuntu

Options explained

Exposing ports:

Be careful not to conflict with any other containers, for Rails: I use 3001 to avoid conflicting with other Rails containers I have running. Generally I would dockerify an app I'm working on with docker-compose and run it seperately, I would not run it in jubuntu. Anyway:

-p 3001:3000

Mount your development directory:

My local development directory is /Users/jaydp123/projects:

-v /Users/jaydp123/projects:/home/jubuntu/workdir

Mount an ssh volume:

The first time you run the container this will be empty, run ssh-keygen, then this volume will persist and ssh-keys will be loaded for future runs of jubuntu (or any other container that wants to use the keys):

-v ssh_jub:/root/.ssh

Thoughts/Recommendations?

Please add an issue to the Github repo.

Happy coding!

About

A personal development ubuntu 18.04 environment using docker. Including ruby w rbenv, rails, node w nvm, ansible, salesforce sfdx, yarn, zsh, go-lang, python3/pip3, ngrok, and a couple custom bash scripts (git-select-recent, killport)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published