docker issue with namespaces - Container ID 110090219 cannot be mapped to a host ID

Viewed 3565

when I try to pull a docker image to a machine (which I am not a sudo on), I am getting an error failed to register layer: ApplyLayer exit status 1 stdout:  stderr: Container ID 110088952 cannot be mapped to a host ID.

I found a trouble-shooting page that says this error is the usernamespace feature is turned on and it requires that the container id must be between 0 and 65536. I checked with docker info and it does appear to be on:

Security Options:
 userns

My question is: how do i get around this issue? I have no idea how to make sure the "container ids are in the range 0 and 65536"... They suggest turning on namespaces on the computer I build the image on, but the command they suggest does not work on my mac:

$ sudo docker daemon --userns-remap=default
docker: 'daemon' is not a docker command.
See 'docker --help'.
2 Answers
Related