Using the command before Tomcat creates a container
docker pull tomcat
docker run -it -P tomcat
Report the following error: Standard_ init_ linux.go:211 : exec user process caused “no such file or directory”
Solution:
Use other Tomcat images to create Tomcat container and run it successfully
docker run -d --name tomcat -p 8888:8080 registry.cn-hangzhou.aliyuncs.com/youdao/tomcat
Speculation: before using the docker hub with the highest number of stars, there was a problem, indicating that this kind of file and directory could not be found. Maybe the image was damaged when downloading
If we use the new container to download and run, it’s OK
Personal test!!! This error is the download image is damaged! The docker needs to be unloaded clearly. Remember to clear all the associated file directories
Read More:
- [Solved] standard_init_linux.go:190: exec user process caused “exec format error“
- How to Solve Docker Run Error: standard_init_linux.go:219: exec user process caused: exec format error
- Docker run Error: container_linux.go:235: starting container process caused “process_linux.go:258: appl
- [Solved] docker Error response from daemon OCI runtime create failed container_linux.go380
- [Solved] MYSQLD: Can‘t create directory ‘/usr/local/mysql/data/’(Errcode:2 -No such file or directory)
- [Solved] Linux Start jar Error: nohup: failed to run command ‘java‘: No such file or directory
- Kill Tomcat process in windows and Linux environment (solve the problem of other ports being occupied)
- VSCode Unable to find custom header file directory: fatal error: no such file or directory
- crtdbg.h No such file or directory error [How to Solve]
- [619]libgtk-3.so.0 or libXt.so.6: cannot open shared object file: No such file or directory
- [Solved] Linux R Pack Error: cram/cram_io.c:61:10: fatal error: lzma.h: No such file or directory
- flask init-db Error: Error: Could not locate a Flask application. Use the ‘flask –app’ option, ‘FLASK_APP’ environment variable, or a ‘wsgi.py’ or ‘app.py’ file in the current directory.
- Docker Create or Start Nginx Error: docker: Error response from daemon: driver failed programming external connectivity
- [Solved] ERROR: Could not open requirements file: [Errno 2] No such file or directory : ‘requirments.txt‘
- [Solved] import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- ./popins2: error while loading shared libraries: libbifrost.so: cannot open shared object file: No such file or directory
- [Solved] MSYS2+ fatal error: zlib.h: There is no such file or directory
- Keil Compile Error: ..\OBJ\USART.axf: error: L6002U: Could not open file ..\obj\sys.o: No such file or directory
- error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory
- C++: fatal error: variant: No such file or directory