Hi, Last weekend, we succeeded when we firstly run 'docker push docker.synapse.org/syn25981981/gimi-lab'. Then we delete it because we want to modify it. Now we run 'docker push docker.synapse.org/syn25981981/gimi-lab' but get '**denied: request access to the resource is denied**'. Please tell us how to fix it? Thanks!

Created by Tsung-Ming Huang TMHuang
Can you use Octave instead of Matlab? https://www.gnu.org/software/octave/about
@TMHuang , Apologies, I am unfamiliar with Matlab so I am afraid I cannot provide further help. It may be due to a network issue though; sounds like network access is needed to verify the license?
@vchung Sorry, this does not help. Our MATLAB license has to be verified through internet. We tested our docker file in several computers and all worked fine. The license issue never occured. I'm curious about the "The hostid of your computer (000000000000) does not match the hostid of the license file (0242ac110002)" issue, I never met this issue in a docker container.
@TMHuang , I am not sure if this is the issue, but Docker containers are run without network access in the Synapse submission system. I found this [MATLAB answer](https://www.mathworks.com/matlabcentral/answers/259627-how-do-i-activate-matlab-or-other-mathworks-products-without-an-internet-connection) that may be of help?
Hi, @vchung We have submitted the docker but got the following problem. " MATLAB is selecting SOFTWARE OPENGL rendering. License checkout failed. License Manager Error -9 The hostid of your computer (000000000000) does not match the hostid of the license file (0242ac110002). To run on this computer, you must run the Activation client to reactivate your license. Troubleshoot this issue by visiting: https://www.mathworks.com/support/lme/R2021a/9 Diagnostic Information: Feature: MATLAB License path: /root/.matlab/R2021a_licenses/license_3889db5b3886_1141089_R2021a.lic:/usr/local/MATLAB/R2021a/licen ses/license.dat:/usr/local/MATLAB/R2021a/licenses Licensing error: -9,57. Provenance  9715798_log.txt v.1 Undefined  Discussion about 9715798_log.txt " Actually, we have activated Matlab in docker, and the license is bound to the hostid. But after submitting to the competition, an error of Matlab activation failure was reported above, showing that the hostid was inconsistent. How can we fix it? Thanks!
@saruarlive , Sometimes, a hard browser reset is required before changes are seen on Synapse. When you refresh the Docker tab, do you see the latest version?
@TMHuang , When a Synapse item gets deleted (including a Docker repository), the item will temporarily be moved into a trash can for some time before getting permanently deleted. Edits to trash bin items are not allowed, hence the error you received. As @NPU_PITT has pointed out, one way to resolve this is to use a different image name. For future reference, you do not need to delete Docker repositories in order to modify them. You can simply push your changes up to the image (similar to GitHub pushes), or you can utilize tags if versioning is desired, e.g. ```sh # Version 1 of model docker build -t docker.synapse.org/syn12345/my-model:version1 . # Version 2 of same model, but with edits docker build -t docker.synapse.org/syn12345/my-model:version2 . ``` Hope this helps!
Hi @TMHuang , FYI. I met the same problem yesterday and I finally solved it by changing the repo name. Hope it can help you.
Hi, @trberg I got the following message after executing the command. docker push docker.synapse.org/syn26025257/mmiv_meunet:version0 The push refers to repository [docker.synapse.org/syn26025257/mmiv_meunet] a931e74f07e8: Pushed b86a6dd7d1b0: Pushed 2f9b6e908e9c: Pushed e990093d70df: Pushed 4cc68289a195: Pushed 50a0a3125de8: Pushed a8e262e73fa9: Pushed 3216491659cb: Pushed a0addc413928: Pushed 07adad8f2cae: Pushed 0dd1581dbc3c: Pushed 837d6facb613: Pushed version0: digest: sha256:c01c87d8d77c61a40604d605ee19bd244cdeb80f7720b041503f4980a87b1d4e size: 2833 But the docker image is not listing in https://www.synapse.org/#!Synapse:syn26025257/docker/. My docker version is: **19.03.14**, build 5eb3275d40 What is wrong with the process? Could you kindly suggest how to solve the problem? Looking forward to hearning from you.
Hi @trberg, I have run the docker login docker.synapse.org command before 'docker push'.
Hi @trberg, I have run the docker login docker.synapse.org command before 'docker push'.
Hi @TMHuang, Just as a first check, did you first run the `docker login docker.synapse.org` command?

Question about 'docker push ...' page is loading…