valkka-core icon indicating copy to clipboard operation
valkka-core copied to clipboard

docker/run.bash parameter misused

Open RKAnonymous opened this issue 8 months ago • 1 comments

General Question

I cloned the repo and executed commands one-by-one as it was written in readme file.

Linux: Ubuntu 20.04

  1. create_image.bash x86_ubuntu_20 local_1.0.0 x86_ubuntu_20 for Ubuntu version as it was indicated. 1.0.0 for my local valkka image.

But problem comes here. When I run run.bash x86_ubuntu_20 (Why I put x86_ubuntu_20? Because there was written [TAG] in all places and I thought it should be the same as the previous command)

And it raises error: Unable to find image 'valkka:x86_ubuntu_20' locally docker: Error response from daemon: pull access denied for valkka, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'.

What I realized here is run.bash script is using [TAG] parameter as valkka image tag ...-it valkka:$1 /bin/bash, but not a ubuntu image tag. I suggest, in the 4th step [TAG] parameter somehow should differ from the ones used in other commands. For example: [VALKKA_TAG], if $2 parameter was provided in the 3th step.

I did not check the case that $2 is empty though.

Thank you.

RKAnonymous avatar May 31 '24 06:05 RKAnonymous