Hi @allawayr,
I have uploaded docker image without problem to project syn21478998.
My teammate @ikedim can do a docker login with no problem. He is an Administrator of project syn21478998.
However when he tries to do a docker push command to syn21478998, he gets a Permission Denied error.
What is stopping @ikedim from uploading docker images to our project?
Thanks,
Lars
Created by Lars Ericson lars.ericson @vkichu - Lars' suggestion is a good one. Your models are probably being masked by the volume mount to the output folder. Here's more information on how this works: https://stackoverflow.com/questions/47664107/docker-mount-to-folder-overriding-content @vkichu try copying them to / or a /models directory that you create in your Dockerfile, and change your code to refer to that location. Model files are around 8gb. I have copied the models to output folder. But it keeps getting deleted once the processing starts. so how to proceed? Hi there,
Yes, you can use pretrained models. There is a guide to building a Docker container [here](https://www.synapse.org/#!Synapse:syn20545111/wiki/597249) including links to a template that you can use to build your Docker container.
Regarding size:
There is no limit that I am aware of on Synapse, though I'm sure our platform team will notice if it is extremely large.
On the submission processing side, we don't have a set limit per submission, though it is limited by the physical disk space we have available. How large are you thinking?
sir, is it possible pretrained models. if so which directory i have to copy them. what are the disk space restrictions? Thankyou Thanks ! @arielis - 9702326 was removed. Cheers, Robert Yes @allawayr , please delete submission 9702326, which is a duplicate of 9702322 Hi there,
Reading the log you copied above, it looks like your `docker push` was successful (if you look at the docker block ids like, `271910c4c150`, you can see that they were all eventually marked `Pushed`)
If you check your [stderr log file](https://www.synapse.org/#!Synapse:syn21788360), it looks like there is a bug in your run.sh script:
```
/run.sh: line 2: $'\r': command not found
/run.sh: line 6: export: `PATH
': not a valid identifier
/run.sh: line 7: $'\r': command not found
/run.sh: line 10: $'\r': command not found
python: can't open file 'RA2_script.py
': [Errno 2] No such file or directory
```
@allaway_test
Apologies for the beginner's mistake! However, even though I can push now, the process doesn't seem to be complete as shown below:
```
The push refers to repository [docker.synapse.org/syn21788345/rym_wk2]
252dea049e76: Preparing
1f7d05ee9111: Preparing
252dea049e76: Preparing
865ae4908f73: Preparing
7926fb4c2450: Preparing
56d110d92bfa: Preparing
049261a52dae: Preparing
be06ad09349b: Preparing
4185244cadca: Preparing
3c0231a9de8e: Preparing
9f81fb8eafa7: Preparing
7c771135e291: Preparing
7f449d7134c9: Preparing
6ae8ffad2add: Preparing
5d596c86e1ed: Preparing
75b860154563: Preparing
1f7d05ee9111: Preparing
1e16abf21cf5: Preparing
aefb3c321298: Preparing
8e9b6fe8114a: Preparing
37bb5c84b781: Preparing
7b467e610997: Preparing
72e018dfb28d: Preparing
a6b1c5949826: Preparing
3dffd131f01f: Preparing
271910c4c150: Preparing
6670e930ed33: Preparing
c7f27a4eb870: Preparing
e70dfb4c3a48: Preparing
1c76bd0dc325: Preparing
049261a52dae: Waiting
be06ad09349b: Waiting
4185244cadca: Waiting
3c0231a9de8e: Waiting
9f81fb8eafa7: Waiting
7c771135e291: Waiting
7f449d7134c9: Waiting
6ae8ffad2add: Waiting
5d596c86e1ed: Waiting
75b860154563: Waiting
1e16abf21cf5: Waiting
aefb3c321298: Waiting
8e9b6fe8114a: Waiting
37bb5c84b781: Waiting
7b467e610997: Waiting
72e018dfb28d: Waiting
a6b1c5949826: Waiting
3dffd131f01f: Waiting
271910c4c150: Waiting
6670e930ed33: Waiting
c7f27a4eb870: Waiting
e70dfb4c3a48: Waiting
1c76bd0dc325: Waiting
252dea049e76: Pushed
1f7d05ee9111: Pushed
865ae4908f73: Pushed
56d110d92bfa: Pushed
7926fb4c2450: Pushed
be06ad09349b: Pushed
4185244cadca: Pushed
049261a52dae: Pushed
6ae8ffad2add: Retrying in 5 seconds
3c0231a9de8e: Retrying in 5 seconds
7f449d7134c9: Retrying in 5 seconds
9f81fb8eafa7: Retrying in 5 seconds
9f81fb8eafa7: Retrying in 4 seconds
6ae8ffad2add: Retrying in 4 seconds
3c0231a9de8e: Retrying in 4 seconds
7f449d7134c9: Retrying in 4 seconds
9f81fb8eafa7: Retrying in 3 seconds
6ae8ffad2add: Retrying in 3 seconds
3c0231a9de8e: Retrying in 3 seconds
7f449d7134c9: Retrying in 3 seconds
6ae8ffad2add: Retrying in 2 seconds
9f81fb8eafa7: Retrying in 2 seconds
3c0231a9de8e: Retrying in 2 seconds
7f449d7134c9: Retrying in 2 seconds
9f81fb8eafa7: Retrying in 1 second
6ae8ffad2add: Retrying in 1 second
3c0231a9de8e: Retrying in 1 second
7f449d7134c9: Retrying in 1 second
7c771135e291: Pushed
7f449d7134c9: Pushed
6ae8ffad2add: Pushed
5d596c86e1ed: Pushed
75b860154563: Pushed
1e16abf21cf5: Pushed
3c0231a9de8e: Pushed
9f81fb8eafa7: Pushed
37bb5c84b781: Pushed
8e9b6fe8114a: Pushed
72e018dfb28d: Pushed
7b467e610997: Pushed
aefb3c321298: Pushed
3dffd131f01f: Pushed
a6b1c5949826: Pushed
c7f27a4eb870: Pushed
e70dfb4c3a48: Pushed
6670e930ed33: Pushed
1c76bd0dc325: Pushed
271910c4c150: Pushed
1: digest: sha256:7b37b5c2ffa2a27019c0723e01cf4ece67193ff3dd4e4998dcc3392a2645c2f1 size: 6626
```
I gave the uploaded respository a shot in the submission, but it failed as expected. Below is the submission response i got:
Dear RYM: Your workflow job, (submission ID 9702330), has failed to complete. The message is: etworks.org/tmpxj0ifmtc/wes_workflow.cwl#run_docker/predictions [0m [1;30mWARNING [0m [33m[step run_docker] completed permanentFail [0m [1;30mINFO [0m [workflow ] completed permanentFail [1;30mWARNING [0m [33mFinal process status is permanentFail [0m Your logs are available here: https://www.synapse.org/#!Synapse:syn21788360. Sincerely, Workflow Administration
What could be the problem?
Thank you for your patience! Here's an individual team's challenge submission project from a recent Challenge as an example: https://www.synapse.org/#!Synapse:syn21560898/wiki/601081 @yanmingtan @raphael_quek
No, there shouldn't be any waiting period.
Can you confirm the following?
-before pushing, you are logging into the synapse docker service by running `docker login docker.synapse.org`
-after logging in, you are `docker push`ing to a new Synapse project? often people will try to push to the main Challenge project (syn20545111) but you need to create a new project (go [here](https://www.synapse.org/#!Profile:v/projects) and click "Create a new project"). @arielis - just to double check before deleting anything, are you taking about submission: 9702326?
Thanks,
Robert
For me it worked, but I mistakenly pushed the same docker image twice, wasting two of the three attempts of the beginning week.
Can you cancel the second attempt, considering it was based on the same code and models (and got the exact same scores).
@allawayr @raphael_quek
Hi, our group has trouble pushing too. It kept saying 'denied: requested access to the resource is denied'. I just got myself certified like 12 hours ago, is it because of that? As in, do I have to wait for a certain period after I can push? Or it's because of the Dockerfile? Thanks @allawayr I will ask @ikedim to take his quals. Looks like it:
```
> synRestGET('/user/3395107/certifiedUserPassingRecord')
Error in value[[3L]](cond) : 404 Client Error:
No quiz results for quiz 1 and user 3395107
```
Becoming a [certified user](https://docs.synapse.org/articles/accounts_certified_users_and_profile_validation.html#certified-users) should fix the issue!
My guess is that @ikedim is not a certified user - this can be checked by navigating [here](https://www.synapse.org/#!Profile:v/settings) and looking under the "Certification" header.
Cheers,
Robert