Solved
ThingWorx 9.3 Docker docker-compose pull access denied error when local image exists
- August 14, 2022
- 2 replies
- 6635 views
Hello Everyone;
I have been try to use Docker to install Thingworx Postgresql.
After
/build.sh postgres
which completes successfully,
sudo docker-compose -f docker-compose-postgres.yml up -d
gives this errors
sudo docker-compose -f docker-compose-postgres.yml up -d 1 ↵
Pulling security-cli (thingworx/security-tool:latest)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Continue with the new image? [yN]n
ERROR: pull access denied for thingworx/security-tool, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
╭─mcb@dev-pc ~/Documents/BrandIT/TwxDocker
╰─$ sudo docker-compose -f docker-compose-postgres.yml up -d 1 ↵
Pulling security-cli (thingworx/security-tool:latest)...
ERROR: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
╭─mcb@dev-pc ~/Documents/BrandIT/TwxDocker
╰─$ docker images 1 ↵
REPOSITORY TAG IMAGE ID CREATED SIZE
╭─mcb@dev-pc ~/Documents/BrandIT/TwxDocker
╰─$ sudo docker-compose -f docker-compose-postgres.yml up
Pulling security-cli (thingworx/security-tool:)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Continue with the new image? [yN]n
ERROR: pull access denied for thingworx/security-tool, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

In screenshot shows that images are downloaded at the /build.sh postgres step and docker-compose should search for local images but instead its looking on the Docker Hub.
I am logged in to Docker Hub but i assume the "thingworx/postgresql-init-twx" or other images are private.
Has anyone encounter this problem ?
How can i solve this?
Thank you
Murat Can BERBER

