Skip to content

zwpaper/devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devdocker

Dev Env in docker

Software installed in docker read only, code and settings(dot files) store as volumes, changable.

  • Use a Dockerfile to create docker with software installed
  • Use a docker compose to set hostname, expose ports, and add volumes.

Contents

fedora

fedora

I use the rawhide, It has pretty new software in repo, it is good for create a docker

mosh

mosh github

It help me auto connect to my dev env everytime when I got back to internet.

emacs

emacs

The world's best editor

go 1.8

golang github

My life support...

Usage

# build the image
docker-compose build
# startup
docker-compose up -d
# connect to it
mosh root@ip --ssh="ssh -p 2413" -p 60020:60030'

I alias the mosh command, as I may use it many times:

dev='mosh root@ip --ssh="ssh -p 2413" -p 60020:60030'

About

Dev Env in docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published