Skip to content
Jie Liang edited this page Apr 30, 2018 · 5 revisions

Images

  • ventureum/dev
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial

Dev environment, including dev tools, scripts, IDEs, etc.

Feel free to add more stuff into the image.

  • ventureum/prod

Prod environment

Usage

Copy the following content into an .sh file, and run it to connect to the container

#!/bin/bash
sudo xhost +
sudo docker run -ti --net=host -e DISPLAY -v /tmp/.X11-unix -v ~/projects:/root/projects ventureum/dev:latest

If you get the error sudo: xhost: command not found with macOS, install XQuartz and re-login your macOS account.

MacOS example:

#!/bin/bash
sudo xhost +
sudo docker run -ti -p 3000:3000 -p 30303:30303 -p 8545:8545 -e DISPLAY -v /tmp/.X11-unix -v ~/projects/:/root/gitrepos ventureum/dev:latest

Note that we are using -v to map ~/projects (local) to /root/projects (container), adjust the path if needed.

History

ventureum/dev

IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
893c84542bb9        5 minutes ago       /bin/bash                                       56.4MB              npm -g truffle (v4.1.3), original-require, require-from-string, memorystream
0262aaaa84c8        9 days ago          /bin/bash                                       73.2MB              Add react scripts, add react layer to spacemacs
86b04bf6355f        2 months ago        /bin/bash                                       59.9MB              
<missing>           3 months ago        /bin/bash                                       408MB               add vscode text editor
<missing>           3 months ago        /bin/bash                                       41.9kB              tab width 4
<missing>           3 months ago        /bin/bash                                       169MB               build-essential update
<missing>           3 months ago        /bin/bash                                       12MB                emacs font size, git email and username
<missing>           4 months ago        /bin/bash                                       3.41MB              spacemacs js-mode
<missing>           4 months ago        /bin/bash                                       118MB               emacs25,software-properties-common, python-software-properties
<missing>           4 months ago        /bin/bash                                       36.1MB              wget, dbus-x11, libgl1-mesa-glx, libcanberra-gtk-module,libcanberra-gtk3-module, spacemacs:(auto-completion, git, markdown, spell-checking)
<missing>           4 months ago        /bin/bash                                       91.4MB              emacs solidity-mode
<missing>           4 months ago        /bin/bash                                       687MB               
<missing>           4 months ago        /bin/sh -c #(nop)  CMD ["/bin/bash"]            0B                  
<missing>           4 months ago        /bin/sh -c mkdir -p /run/systemd && echo '...   7B                  
<missing>           4 months ago        /bin/sh -c sed -i 's/^#\s*\(deb.*universe\...   2.76kB              
<missing>           4 months ago        /bin/sh -c rm -rf /var/lib/apt/lists/*          0B                  
<missing>           4 months ago        /bin/sh -c set -xe   && echo '#!/bin/sh' >...   745B                
<missing>           4 months ago        /bin/sh -c #(nop) ADD file:5b334adf9d9a225...   122MB 

Clone this wiki locally