Sign inSign up

pdouble16/linux-dev-workstation

By pdouble16

Updated almost 6 years ago

Developer workspace for JVM, Docker, Ruby

Image
0

1.9K

pdouble16/linux-dev-workstation repository overview

Linux Java/DevOps Workstation

https://bitbucket.org/double16/linux-dev-workstation

This Vagrant image contains a developer workspace with the following software:

It also features configuration options:

  • Configuring HTTP proxies from standard environment variables (HTTP_PROXY, ...) or configuration described in VAGRANTUP.md.
  • Import of SSH keys
  • Import of CA certifications
  • Checkout of source code repositories when provisioning the Vagrant box

Configure

See VAGRANTUP.md for configuration details. This file is also included in the box built by Packer and output after the vagrant up.

Running the box uses an SSH tunnel and VNC viewer. SSH authentication is a little different, by default it uses the Vagrant insecure SSH key. If you want to use a different SSH key, set the environment variable SSH_AUTHORIZED_KEYS with the content of your public key(s). The image is based on https://github.com/jdeathe/centos-ssh, the various SSH options should work with this image.

$ docker run -d -p 2020:22 pdouble16/linux-dev-workstation
$ curl -LSs https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant > id_rsa_insecure
$ chmod 600 id_rsa_insecure
$ ssh -t -L 5910:localhost:5900 -i id_rsa_insecure -p 2020:22 vagrant@{docker-host-ip}
$ vncviewer localhost:5910

If you want to control the hosting Docker daemon from inside the container:

$ docker run -d -p 2020:22 -v /var/run/docker.sock:/var/run/docker.sock pdouble16/linux-dev-workstation

If you want to run Docker in the container without using the host Docker daemon, you need to run with privileged mode:

$ docker run --privileged -d -p 2020:22 pdouble16/linux-dev-workstation

Credits

The packer build is strongly based on https://github.com/boxcutter/centos.

Tag summary

Content type

Image

Digest

Size

9 GB

Last updated

almost 6 years ago

docker pull pdouble16/linux-dev-workstation