You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
➜ ~
The text was updated successfully, but these errors were encountered:
C:\>ver Microsoft Windows [Version 10.0.17763.864]
The text was updated successfully, but these errors were encountered: