When the compiled image is exported and loaded into another computer, the error is as follows:
//import mirror docker import example.tar //run the docker docker run -it example:v20210119 /bin/bash //error: docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown.
For the description of this problem, there are probably two kinds of factional explanations on the Internet under Google
Left wing school
There is no/bin/bash in production, try/bin/sh, the result is still the problem
Compatibility between Linux and docker. Then uninstall the old version and install the latest one.
The solution of the left faction is very easy to verify. After repeated verification, the problem is still unsolved. It is commonly known as the left faction.
The solution of the right faction is a bit difficult to verify, but intuition tells me that it should not be such a problem
Sure enough, I saw the right answer. After a careful look, a short description and a quick verification, the problem was solved.
this error occurs when docker runs. It is caused by different ways of saving the image. If the image is imported by using import, it should be noted that import can import the image package saved by save and the container package saved by export. However, if the image package saved by save is imported, there is no error. But this error occurs when run runs
docker load < buildroot_v20210119.tar
- Docker Create tomcat Error standard_init_linux.go:211: exec user process caused “no such file or directory”
- How to Solve k8s Nodal issues: /sys/fs/cgroup/memory/docker: no space left on device\““: unknown.
- docker load Error processing tar file(exit status 1): archive/tar: invalid tar header
- No repositories directory found inside registry_ DATA_ DIR
- How to Fix ERROR Couldn’t connect to Docker daemon at http+docker://localunixsocket
- How to Solve Kafka Error: no leader
- The drone settings page is not trusted
- Start Docker Quickstart Terminal error This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated
- [neo4j] error report when visiting neo4j in spring boot project
- [Vagrant] When vagrant up, it stops at “SSH auth method: private key” and times out.
- GO Exception Runnerw.exe: CreateProcess failed with error 21
- Docker Error response from daemon: Get https://registry-1.docker.io/v2/portainer/portainer/…
- error: (-215:Assertion failed) size.width＞0 && size.height＞0 in function ‘cv::imshow‘
- ValueError: Negative dimension size caused by subtracting 2 from 1 for…
- Error: an error occurred while performing the step: “building kernel modules”. See/var/log/NV
- Spark ERROR client.TransportResponseHandler: Still have 1 requests outstanding when connection from
- ValueError: Floating point image RGB values must be in the 0..1 range.
- OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failur
- How to Solve Error: avoided redundant navigation to current location: “index/user”
- Solution to latex “too many unprocessed floats” error