Created Build with Docker (markdown)

Hiroji Kiyotake 2019-06-23 15:50:22 +00:00
parent dc4ab74601
commit 984b34730f

15
Build-with-Docker.md Normal file

@ -0,0 +1,15 @@
## Clone Repo
`git clone https://github.com/wownero/wownero`
`cd wownero`
## Build Docker Image
`docker build --no-cache --network=host --build-arg NPROC=2 -t wownero .`
`docker images`
## Copy Files From Image to Host
`docker cp <containerId>:/data/ ~/wownero_docker`
## Run Container
`docker run -it --entrypoint /bin/bash <containerId>`