profile
viewpoint

Ask questionsStarting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"open

<!-- IMPORTANT: Please be sure to remove any private information before submitting. -->

Repro steps: <!-- TODO: Enter steps to reproduce issue -->

  1. docker network create server
  2. docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro —network="server" —name="nginx_proxy" —restart="unless-stopped" jwilder/nginx-proxy

Action: vscode-docker.containers.start Error type: 500 Error Message: (HTTP code 500) server error - OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused "open /sys/fs/cgroup/docker/cpuset.cpus.effective: no such file or directory"": unknown

Version: 0.8.2 OS: linux Product: Visual Studio Code Product Version: 1.39.2 Language: en

<details> <summary>Call Stack</summary>

extension.bundle.js:157:703098
extension.bundle.js:157:703061
m.buildPayload extension.bundle.js:157:703071
IncomingMessage.<anonymous> extension.bundle.js:157:702571
IncomingMessage.emit events.js:187:15
endReadableNT _stream_readable.js:1092:12
process._tickCallback next_tick.js:63:19

</details>

microsoft/vscode-docker

Answer questions bwateratmsft

I found this similar issue: https://github.com/moby/moby/issues/29496#issuecomment-267766589

The comment I linked recommends doing some extra setup work in order to get cgroups working. Can you try that and see if it works?

useful!

Related questions

Error Message: connect EACCES /var/run/docker.sock hot 3
Error Message: connect EACCES /var/run/docker.sock hot 1
Debug not running hot 1
Error:connect ENOENT //.pipe/docker_engine hot 1
Error:connect ENOENT //.pipe/docker_engine hot 1
In order to use an SSH DOCKER_HOST on OS X and Linux, you must configure an ssh-agent. - vscode-docker hot 1
In order to use an SSH DOCKER_HOST on OS X and Linux, you must configure an ssh-agent. hot 1
Improve error message when docker has not been found- ENOENT //./pipe/docker_engine hot 1
Connect to remote docker daemon when using "Remote - SSH" extension hot 1
VSCode: "No matching resources found." when using with Azure Container Registry extension hot 1
Error:connect ENOENT //.pipe/docker_engine hot 1
browse to containers step gives 401 error hot 1
Error Message: connect EACCES /var/run/docker.sock hot 1
Docker Machine crashes when managing Docker containers with vscode-docker plugin hot 1
Connect to remote docker daemon when using "Remote - SSH" extension hot 1
source:https://uonfu.com/
Github User Rank List