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 create task for container #11060

Closed
1 of 2 tasks
yikuo123 opened this issue Jan 23, 2024 · 7 comments
Closed
1 of 2 tasks

docker failed to create task for container #11060

yikuo123 opened this issue Jan 23, 2024 · 7 comments

Comments

@yikuo123
Copy link

Windows Version

Microsoft Windows [Version 10.0.22631.3007]

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Oracle Linux 7.9

Other Software

Docker version 24.0.7, build afdd53b

Repro Steps

run docker run --rm hello-world

Expected Behavior

print "Hello world!"

Actual Behavior

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit "docker-95d983a7d1475f549f8d7dcf631602f41da6d9cef9469cd8911c60e680ac2d41.scope" (properties [{Name:Description Value:"libcontainer container 95d983a7d1475f549f8d7dcf631602f41da6d9cef9469cd8911c60e680ac2d41"} {Name:Slice Value:"system.slice"} {Name:Delegate Value:true} {Name:PIDs Value:@au [1467]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): Cannot set property IOAccounting, or unknown property.: unknown.

Diagnostic Logs

No response

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@OneBlue
Copy link
Collaborator

OneBlue commented Jan 23, 2024

/logs

@yikuo123
Copy link
Author

Hello, this is the WSL logs:

WslLogs-2024-01-24_11-14-29.zip

@OneBlue
Copy link
Collaborator

OneBlue commented Jan 24, 2024

Thank you @yikuo123. Unfortunately I'm not seeing anything abnormal in the logs. Do you have other WSL distributions, and if so, do they work properly ?

@yikuo123
Copy link
Author

Thank you @yikuo123. Unfortunately I'm not seeing anything abnormal in the logs. Do you have other WSL distributions, and if so, do they work properly ?

Thank you for your reply!

Oracle Linux 7.9 worked properly with docker, but it doesn't work recently.

I'll try another distribution later to see whether it works or not.

@yikuo123
Copy link
Author

Hello, I tried using AlmaLinux 8/9, docker works perfectly. It seems that the problem is related to the WSL distribution. Oddly enough, Oracle Linux 7.9 used to run properly.

@OneBlue
Copy link
Collaborator

OneBlue commented Jan 25, 2024

Thank you for confirming. In this case I recommend raising the issue with them, since it looks like WSL is functionning properly on your machine.

@OneBlue OneBlue closed this as completed Jan 25, 2024
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