You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
694 B
694 B
Create a test NFS volume
make sure the permissions on the NFS volume don't map to a user that can't access them
docker volume create --driver local --opt type=nfs --opt o=addr=nas1.androiddrew.com,rw --opt device=:/volume1/expanse nfs-test
docker run --name test-postgres -v nfs-test:/var/lib/postgresql/data -d postgres:10.4-alpine
Build a docker machine and push it to the docker hub
First set the docker env back to the local Host
eval $(docker-machine env -u)
build with the tag using the docker file and the path
docker build -t androiddrew/flask-docker-swarm_web:latest -f ./services/web/Dockerfile ./services/web
docker push androiddrew/flask-docker-swarm_web:latest