ins-amu / tvb-pipeline

INS TNG pipeline for TVB simulations
5 stars 5 forks source link

An error occurred while running docker #3

Open nana-zhang opened 2 years ago

nana-zhang commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

maedoc commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

nana-zhang commented 2 years ago

OK, I will try again.

maedoc commented 2 years ago

I’ll take a look as soon as possible.

Message ID: @.***>