What does the Dockerfile do?
Build from git repository
$ docker build -t NAME[:TAG] https://github.com/apache/mnemonic.git#:docker/docker-CentOS $ docker build -t NAME[:TAG] https://github.com/apache/mnemonic.git#:docker/docker-Ubuntu
-- OR --
In the folder of Dockerfile, run:
$ docker build -t NAME[:TAG] .
$ docker login [OPTIONS] [SERVER] $ docker push [OPTIONS] NAME[:TAG]
Run image:
$ docker run --name CONTAINER_NAME -it NAME[:TAG]
$ docker run -v <hostdir>/mnemonic:/ws/mnemonic -it NAME[:TAG]
Note: this command will override the container's project folder, you can use another name to avoid it.