Difference between revisions of "Set up Docker Container"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
https://docs.docker.com/get-started/part2/#define-a-container-with-a-dockerfile | https://docs.docker.com/get-started/part2/#define-a-container-with-a-dockerfile | ||
+ | |||
+ | =Mac Setup= | ||
On local machine | On local machine | ||
Revision as of 22:39, 24 November 2017
https://docs.docker.com/engine/docker-overview/
https://docs.docker.com/get-started/part2/#define-a-container-with-a-dockerfile
Mac Setup
On local machine
cd ../Documents mkdir repos cd mkdir src cd src mkdir CLAS cd CLAS mkdir evio2Root_container cd evio2Root_container
Install git
Install Docker
https://docs.docker.com/docker-for-mac/install/#download-docker-for-mac
create file named Dockerfile with contents
git clone https://github.com/tianon/docker-brew-ubuntu-core.git
Run docker
docker build -t evio2root .
Version control
https://www.atlassian.com/git/tutorials/what-is-version-control