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 failed to start. #3

Open
peter-snr opened this issue Dec 6, 2020 · 0 comments
Open

Docker failed to start. #3

peter-snr opened this issue Dec 6, 2020 · 0 comments

Comments

@peter-snr
Copy link

Ansible fell over when trying to start the docker daemon.

Starting dockerd revealed the issue:-

sudo dockerd
INFO[2020-12-06T13:14:51.712175688Z] Starting up
INFO[2020-12-06T13:14:51.717032757Z] parsed scheme: "unix"                         module=grpc
INFO[2020-12-06T13:14:51.717061129Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2020-12-06T13:14:51.717083960Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}  module=grpc
INFO[2020-12-06T13:14:51.717094701Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2020-12-06T13:14:51.719469363Z] parsed scheme: "unix"                         module=grpc
INFO[2020-12-06T13:14:51.719493234Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2020-12-06T13:14:51.719507424Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}  module=grpc
INFO[2020-12-06T13:14:51.719515835Z] ClientConn switching balancer to "pick_first"  module=grpc
failed to start daemon: error initializing graphdriver: overlay2: the backing xfs filesystem is formatted without d_type support, which leads to incorrect behavior. Reformat the filesystem with ftype=1 to enable d_type support. Backing filesystems without d_type support are not supported.

To fix, remove this from templates/daemon.json.j2

  "storage-driver": "overlay2",
  "storage-opts": [
    "overlay2.override_kernel_check=true"
  ],

CentOS Linux release 7.9.2009 (Core)
3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

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