【转载】Docker: Error response from daemon: invalid volume specification

转自:https://stackoverflow.com/questions/47227384/docker-error-response-from-daemon-invalid-volume-specification-ubuntu

The paths have to be absolute. There is no current working directory or / assumed. Change it to:

docker run -v $(pwd):/opt -p 8080:8080 -it synedra/hapi_api
点赞

发表回复

电子邮件地址不会被公开。必填项已用 * 标注