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

An error occurred while running docker #3

Open
nana-zhang opened this issue Aug 5, 2022 · 12 comments
Open

An error occurred while running docker #3

nana-zhang opened this issue Aug 5, 2022 · 12 comments

Comments

@nana-zhang
Copy link

Hello,
First of all, I pulled the image. Then I tried to run with docker, but an error occurred, I'm not sure whether my command is correct, so I hope you can give me some suggestions, as shown in the figure below:
Screenshot from 2022-08-05 16-05-20
I don't know what address ‘/ path / to / TVB make / docker / run’ represents. I found ‘docker / run’ in TVB pipeline, so I guess it is the address where the TVB pipeline package is stored.Then the error shown above appears. I hope you can give me some suggestions to correct my error.

@maedoc
Copy link
Member

maedoc commented Aug 8, 2022

The docker/run script creates a Docker container, tho it seems to be not working in your case. What does docker images say?

@nana-zhang
Copy link
Author

Hello, I may have misunderstood it at the beginning. I thought it was necessary to pull the image. Now I seem to understand it. I don't need to pull the image. I can run the docker directly using the / docker / run script. However, this problem does not seem to have much to do with whether I pull the image. So how can I solve this bug? Is it because of the environment?

@maedoc
Copy link
Member

maedoc commented Aug 8, 2022

The docker/run script is just a wrapper for creating and running the container. I can't tell from the screenshot what's wrong, which is why I asked for more information.

@nana-zhang
Copy link
Author

Hello, let me briefly describe my operation process:

  1. I installed Docker
  2. I used the command "docker pull maedoc/tvb-make" to pull the image
  3. Clone the tvb-pipeline package locally
  4. Prepare T1 data and put it into the corresponding folder
  5. Run the command according to the instructions of Docker in readme

Then there is an error in the figure. Is there a problem with my step?

@maedoc
Copy link
Member

maedoc commented Aug 8, 2022

Thanks, I suspect there is a problem with the Docker image. I will take a look, test and reply again.

@maedoc
Copy link
Member

maedoc commented Aug 8, 2022

I've pushed a new image, now named ghcr.io/ins-amu/tvb-pipeline:latest. Can you try

docker pull ghcr.io/ins-amu/tvb-pipeline:latest
docker rmi maedoc/tvb-make
docker tag ghcr.io/ins-amu/tvb-pipeline:latest maedoc/tvb-make

and then try again?

@nana-zhang
Copy link
Author

Hello, I tried to use the following command to pull the image, but the following problem occurred. Is it because I don't have permission?
Screenshot from 2022-08-10 10-47-22

@nana-zhang
Copy link
Author

Hello, I've tried many methods, but still can't solve the above problem. I guess I don't have permission, so if you can help me if you're free, I'll be grateful.

@nana-zhang
Copy link
Author

Hello,
I guess you have set this image as private, so I have no permission to pull this image. Can you modify the permission?

@maedoc
Copy link
Member

maedoc commented Sep 1, 2022

Sorry, wasn't intentional, can you try again?

@nana-zhang
Copy link
Author

OK, I will try again.

@maedoc
Copy link
Member

maedoc commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants