Skip to content

Instantly share code, notes, and snippets.

@Jake-Gillberg
Created April 7, 2018 15:39
Show Gist options
  • Save Jake-Gillberg/c471002553b2f916a592c6a312bf3795 to your computer and use it in GitHub Desktop.
Save Jake-Gillberg/c471002553b2f916a592c6a312bf3795 to your computer and use it in GitHub Desktop.
Use eth-dev-image
version: '4.4'
services:
dev:
container_name: eth-dev
image: jakegillberg/eth-dev-image
# Preserve dev home
volumes:
- type: volume
source: eth-dev-home
target: /home/dev
tty: true
network_mode: "host"
volumes:
eth-dev-home:
  1. Install docker
  2. Install docker-compose
  3. Create a new directory, and put docker-compose.yml inside
  4. Start the container docker-compose up -d
  5. Enter the container docker exec -it -u dev eth-dev /bin/bash --init-file /home/dev/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment