craftman
craftman copied to clipboard
oci runtime error: rootfs_linux.go:53: mounting "/proc" to rootfs
root@Arachne:~# craftman install
===> Installing Craft...
===> Preparing to download Craft CMS
===> + Using Craft CMS from local cache
===> Extracting Craft CMS tar.gz
===> + Extracting craft.tar.gz to /root/site
===> Generating Craft CMS configurations
===> + Generating 'scripts/install/010_dependencies.sh'
===> + Generating 'site/craft/config/db.php'
===> + Generating 'site/craft/config/general.php'
===> + Generating 'docker-compose.yml'
===> + Generating 'scripts/override/usr/local/etc/php/php.ini'
===> + Generating 'scripts/install/100_composer.sh'
===> Starting Craft CMS containers
Pulling mysql_data (debian:jessie)...
jessie: Pulling from library/debian
5040bd298390: Pull complete
Digest: sha256:abbe80c8c87b7e1f652fe5e99ff1799cdf9e0878c7009035afe1bccac129cad8
Status: Downloaded newer image for debian:jessie
Creating root_mysql_data_1
ERROR: oci runtime error: rootfs_linux.go:53: mounting "/proc" to rootfs "/var/lib/docker/vfs/dir/d841f24cbf26270ad2af9185fee84085f81e24682c62f0695aa82398b4194f61" caused "permission denied"
I'm running in an Ubuntu 16.04 LXD container on an Ubuntu 16.04 host
Craftman does not work in the root ~ directory. Try to create a folder like cd ~/mysite
.
My suggestion is:
- Delete
~/.craftman
,~/scripts
,~/.docker-compose.yml
and~/site
. - Install craftman again
curl -o- https://raw.githubusercontent.com/gabrielmoreira/craftman/master/craftman_install | sh
- Create a new directory for your site, such as
~/mysite
. -
cd ~/mysite
and install thecraftman install --port 8080
(use a fixed local port to avoid problems when docker container changes ip )