Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

My Dockerized Dev Environment

Includes

  • Fedora base
  • Go
  • Python (latest 2 and 3 via pyenv)
  • Neovim (from src)
  • fzf
  • Tmux
  • Zsh
    • dotfiles

Usage

The main CMD is /bin/zsh so just: docker run -it rosstimson/dev

I mount local volumes with the following shell aliases:

function ddev-go () {
  docker run -it --name $1 \
    -h go-dev \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v `pwd`:/home/rosstimson/go/src/github.com/rosstimson/$1 \
    rosstimson/dev
}

function ddev-py () {
  docker run -it --name $1 \
  -h py-dev \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v `pwd`:/home/rosstimson/python/$1 \
  rosstimson/dev
}

I can then run ddev-go my-go-project and get the current local
directory mounted appropriately along with the Docker socket being
mounted too.

Note: You'll need to use sudo if running docker commands within
the container.

License and Author

Author:: Ross Timson
[ross@rosstimson.com](mailto:ross@rosstimson.com).

License:: Licensed under WTFPL.

Docker Pull Command
Owner
rosstimson
Source Repository

Comments (0)