-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Windows: Problem with creating singularity image #77
Comments
What is the |
Also, with docker2singularity you are going to need to follow the instructions in the README and bind all the necessary bits on your host. It won't work to just run. |
Based on this issue docker/for-mac#1827 and the output above, you are trying to interact with a private registry (using only http), one called docker on port 2375. It also looks like it's an address in France. https://whatismyipaddress.com/ip/92.168.65.1 I think maybe you have a configuration for a local or different registry? |
Just tested locally, interaction with Quay.io works okay from here: $ docker pull quay.io/singularity/docker2singularity
Using default tag: latest
latest: Pulling from singularity/docker2singularity
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
9d48c3bd43c5: Pull complete
7f94eaf8af20: Pull complete
9fe9984849c1: Pull complete
e17f0ad88222: Downloading 5.897MB/48.56MB
e8bd20cf6e8a: Download complete
dbbc603b9086: Download complete
17443955f0b9: Download complete
2c8319c69dce: Downloading 1.613MB/66.58MB
801f867a9682: Downloading 686.2kB/12.75MB
... |
One remarks: i am using windows, but i have tested it on ubuntu as well |
The error I'm seeing is referencing another registry, something hosted in France. It does not look related to docker2singularity. If you want to run on your ubuntu, show me the exact command you use (with binds) then I can offer to help. Otherwise, I can't help with Windows, but I'd suggest googling that error. |
Right now, i need to run it on windows. Probably the problem could be caused by docker.sock mount as it could be seen on the example in
but i don't know what should i put as |
I'm sorry I can't help you - I haven't used Windows in 10 years, definitely not for containers. I'd suggest you find someone that does, or try various suggestions in posts like this one https://stackoverflow.com/questions/36765138/bind-to-docker-socket-on-windows |
Okay, i lead to working solution on linux, but windows probably has problem with supporting it. |
Using the following command:
docker run quay.io/singularity/docker2singularity -f <<container_name>>
I received the following output:
docker: error during connect: Post http://docker:2375/v1.39/containers/create: dial tcp: lookup docker on 192.168.65.1:53: no such host.
The text was updated successfully, but these errors were encountered: