How to run docker with user namespace enabled?
As per the documentation, i tried the following command but get error:
sudo docker daemon --userns-remap=default INFO previous instance of containerd still alive (2640) INFO User namespaces: ID ranges will be mapped to subuid/subgid ranges of: dockremap:dockremap FATA Error starting daemon: Can't create ID mappings: No subuid ranges found for user "dockremap"
One Solution collect form web for “How to run docker with user namespace enabled?”
I got past the above error by creating
/etc/subguid with following text
dockuser:100000:65536 and then starting docker daemon as
docker daemon --userns-remap:dockuser
But now i get another error related to /dev/mqueue permissions when starting containers. Refer this issue for more details: https://github.com/docker/docker/issues/20798