container init caused \"rootfs_linux.go:58: mounting to rootfs caused not a directory container init caused \"rootfs_linux.go:58: mounting to rootfs caused not a directory docker docker

container init caused \"rootfs_linux.go:58: mounting to rootfs caused not a directory


According to the tags you're using docker toolbox on windows. Mounting volumes in this context is a bit different and needs more effort.

I suggest you to read this article where you should find the answer for your problem:https://medium.com/@Charles_Stover/fixing-volumes-in-docker-toolbox-4ad5ace0e572

Also, make sure that your env variable base_dir is correctly set.

Good luck


The problem was in my VirtualBox. I've updated it and everything works as expected.

Thanks for every