Hide Forgot
Description of problem: Create a simple docker image with a VOLUME FROM busybox VOLUME ["/var/www"] CMD ["echo", 'abcd"] Set the docker daemon config for --no-volumes in /etc/sysconfig/docker: OPTIONS='--selinux-enabled --log-driver=journald --no-volumes=true' docker run fails to start when we try to bind mount a volume over the VOLUME: $ docker run -v ~/tempdir:/var/www <image-name> It fails with the error that volumes are not allowed when they should in this case. Version-Release number of selected component (if applicable): 1.9.1
fixed by https://github.com/projectatomic/docker/pull/92
Fixed in docker-1.10
In docker-1.10.3-40.el7.x86_64 # docker run -v ~/tempdir:/var/www 6e5aceba76ed abcd
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1274