- Install docker
- Install docker-compose
- Create a new directory, and put
docker-compose.yml
inside - Start the container
docker-compose up -d
- Enter the container
docker exec -it -u dev eth-dev /bin/bash --init-file /home/dev/.profile
Created
April 7, 2018 15:39
-
-
Save Jake-Gillberg/c471002553b2f916a592c6a312bf3795 to your computer and use it in GitHub Desktop.
Use eth-dev-image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment