Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oci runtime error: rootfs_linux.go:53: mounting "/proc" to rootfs #11

Open
19wolf opened this issue Feb 16, 2017 · 1 comment
Open

oci runtime error: rootfs_linux.go:53: mounting "/proc" to rootfs #11

19wolf opened this issue Feb 16, 2017 · 1 comment

Comments

@19wolf
Copy link

19wolf commented Feb 16, 2017

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

@gabrielmoreira
Copy link
Owner

Craftman does not work in the root ~ directory. Try to create a folder like cd ~/mysite.

My suggestion is:

  1. Delete ~/.craftman, ~/scripts , ~/.docker-compose.yml and ~/site.
  2. Install craftman again curl -o- https://raw.githubusercontent.com/gabrielmoreira/craftman/master/craftman_install | sh
  3. Create a new directory for your site, such as ~/mysite.
  4. cd ~/mysite and install the craftman install --port 8080 (use a fixed local port to avoid problems when docker container changes ip )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants