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

ERROR: readlink /var/lib/docker/overlay2: invalid argument #1

Open
TurtleWolfe opened this issue Nov 13, 2018 · 1 comment
Open

ERROR: readlink /var/lib/docker/overlay2: invalid argument #1

TurtleWolfe opened this issue Nov 13, 2018 · 1 comment

Comments

@TurtleWolfe
Copy link
Owner

I've been trying to follow this tutorial;
How to create a docker-based LAMP stack using docker-compose on Ubuntu 18.04 Bionic Beaver Linux
and I thought I understood it fairly well, but I'm getting an error I'm not sure what to do about.
I can see the overlay referenced when I run docker info. I've tried pruning, removing, restrarting docker, restarting windows.. tempted to delete all the containers next.

docker-compose.yml

version: '3'
services:
    php-apache:
        build:
            context: ./php-apache
        ports:
            -  80:80
        volumes:
            - ./DocumentRoot:/var/www/html
        links:
            - 'mariadb'

    mariadb:
        image: mariadb:10.1
        volumes:
          - mariadb:/var/lib/mysql
        environment:
          TZ: "Europe/Rome"
          MYSQL_ALLOW_EMPTY_PASSWORD: "no"
          MYSQL_ROOT_PASSWORD: "rootpwd"
          MYSQL_USER: 'testuser'
          MYSQL_PASSWORD: 'testpassword'
          MYSQL_DATABASE: 'testdb'

volumes:
    mariadb:

repo: https://github.com/TurtleWolf/dockerLAMP

$ docker-compose up

ERROR: readlink /var/lib/docker/overlay2: invalid argument

captureerror
capture

@TurtleWolfe
Copy link
Owner Author

I'm not in the timezone he was writing this from.. should I delete that line? or set it to SYSTEM?

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

1 participant