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

The docker exec command run into error: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "could not create session key: function not implemented": unknown #4795

Closed
ToMakeSense opened this issue Jan 3, 2020 · 1 comment

Comments

@ToMakeSense
Copy link

  • My Windows build number
C:\>ver

Microsoft Windows [Version 10.0.17763.864]
  • I hosted docker on Ubuntu 18.04.2 LTS, I was logged in with root, I created daemonized container, it was in running status. however, the docker exec command was not able to execute, see blow command-line steps
➜  ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic
➜  ~
➜  ~
➜  ~ docker version
Client:
 Version:      18.03.1-ce
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   9ee9f40
 Built:        Wed Jun 20 21:43:51 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.03.1-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   9ee9f40
  Built:        Wed Jun 20 21:42:00 2018
  OS/Arch:      linux/amd64
  Experimental: false
➜  ~
➜  ~
➜  ~ whoami
root
➜  ~
➜  ~
➜  ~ docker run --name daemon_test -d ubuntu /bin/bash -c "while true; do echo hello workd; sleep 1; done"
1f6fc4447830b5df5a07ae065a0aa8c63b2770b91796479c5e856bd91c64a4b6
➜  ~
➜  ~
➜  ~ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
1f6fc4447830        ubuntu              "/bin/bash -c 'while…"   22 seconds ago      Up 14 seconds                           daemon_test
➜  ~
➜  ~
➜  ~ docker exec -d daemon_test touch /etc/config
Error response from daemon: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "could not create session key: function not implemented": unknown
➜  ~
➜  ~
➜  ~ docker exec -t -i daemon_test /bin/bash
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "could not create session key: function not implemented": unknown
➜  ~
@therealkenc
Copy link
Collaborator

17763

LZ discussion thread for Docker on WSL1 #2291.

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