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

Docker run throws error on Fedora 31 #116

Closed
haxorof opened this issue Mar 17, 2020 · 1 comment
Closed

Docker run throws error on Fedora 31 #116

haxorof opened this issue Mar 17, 2020 · 1 comment
Labels

Comments

@haxorof
Copy link
Owner

haxorof commented Mar 17, 2020

When using Vagrant box "generic/fedora31" Docker will install correctly but when running "hello-world" it throws and error saying:

TASK [Run hello-world] *********************************************************
Saturday 14 March 2020  13:58:39 +0000 (0:00:00.061)       0:01:43.030 ******** 
fatal: [test-host]: FAILED! => {
    "changed": false,
    "cmd": "docker run --rm hello-world",
    "delta": "0:00:03.862598",
    "end": "2020-03-14 13:58:44.449873",
    "msg": "non-zero return code",
    "rc": 125,
    "start": "2020-03-14 13:58:40.587275",
    "stderr": "Unable to find image 'hello-world:latest' locally\nlatest: Pulling from library/hello-world\n1b930d010525: Pulling fs layer\n1b930d010525: Verifying Checksum\n1b930d010525: Download complete\n1b930d010525: Pull complete\nDigest: sha256:f9dfddf63636d84ef479d645ab5885156ae030f611a56f3a7ac7f2fdd86d7e4e\nStatus: Downloaded newer image for hello-world:latest\ndocker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.",
    "stderr_lines": [
        "Unable to find image 'hello-world:latest' locally",
        "latest: Pulling from library/hello-world",
        "1b930d010525: Pulling fs layer",
        "1b930d010525: Verifying Checksum",
        "1b930d010525: Download complete",
        "1b930d010525: Pull complete",
        "Digest: sha256:f9dfddf63636d84ef479d645ab5885156ae030f611a56f3a7ac7f2fdd86d7e4e",
        "Status: Downloaded newer image for hello-world:latest",
        "docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown."
    ],
    "stdout": "",
    "stdout_lines": []
}

To fix this changes to GRUB is necessary and the following parameter is required:

systemd.unified_cgroup_hierarchy=0
@haxorof
Copy link
Owner Author

haxorof commented Mar 17, 2020

@haxorof haxorof closed this as completed Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant