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

docker: failed to create task for container on Windows #1177

Open
charlesJHarrisIII opened this issue Oct 4, 2024 · 1 comment
Open

docker: failed to create task for container on Windows #1177

charlesJHarrisIII opened this issue Oct 4, 2024 · 1 comment
Labels
docker Windows-specific Issue visible only on Windows environments

Comments

@charlesJHarrisIII
Copy link

Operating System and architecture (arm64, amd64, x86, etc.)

Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz 2.30 GHz

What is your Java version

java version "1.8.0_421"

Log and information

C:\Users\charles.harris1>docker pull grobid/grobid:0.8.1
0.8.1: Pulling from grobid/grobid
Digest: sha256:201340c63c3457ea2068271d8fd68509ed2efc5d07737c3dbf65be31cc49ff6c
Status: Image is up to date for grobid/grobid:0.8.1
docker.io/grobid/grobid:0.8.1

C:\Users\charles.harris1>docker run --rm --gpus all --init --ulimit core=0 -p 8070:8070 grobid/grobid:0.8.0
Unable to find image 'grobid/grobid:0.8.0' locally
0.8.0: Pulling from grobid/grobid
783238ee9a16: Download complete
5cad21b71394: Download complete
e7ea5dcadd7e: Download complete
3061b0b72d6e: Download complete
4bb315637620: Download complete
be6741e82f34: Download complete
19ab9498b155: Download complete
d9729c8975e9: Download complete
292095b7fe6b: Download complete
4f4fb700ef54: Already exists
021d5df52235: Download complete
77521818a8e5: Download complete
0d21725575ff: Download complete
b5066416631f: Download complete
1288105e4cb7: Download complete
317c5dece5d5: Download complete
8318e6df5823: Download complete
bb43ecd11be3: Download complete
77bea4a35444: Download complete
85b34992099d: Download complete
447fc93aa630: Download complete
75fb6b791255: Download complete
dc3261e20515: Download complete
a92a56272168: Download complete
3f014ae54ecf: Download complete
9bc6f56bf15c: Download complete
4a04e4b3132b: Download complete
Digest: sha256:1584e285b2fd83860c8619fcef34153a9699dcd3907b4f06b9c3604c89d45a12
Status: Downloaded newer image for grobid/grobid:0.8.0
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown.

Further information

Upon traversing to http://localhost:8070/

I get "The Site Can't be reached"

@lfoppiano lfoppiano changed the title docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown. docker: failed to create task for container on Windows Oct 4, 2024
@lfoppiano lfoppiano added Windows-specific Issue visible only on Windows environments docker labels Oct 4, 2024
@lfoppiano
Copy link
Collaborator

Hi @charlesJHarrisIII
it seems a possible problem with your SO. Does your workstation has a GPU?

If so, cCould you run other images that uses GPU?

e.g.

docker run --gpus all -it --rm tensorflow/tensorflow:latest-gpu \
   python -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"

or

docker run --gpus all --rm nvidia/cuda nvidia-smi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Windows-specific Issue visible only on Windows environments
Projects
None yet
Development

No branches or pull requests

2 participants