"docker run" gives the error "Unable to find image" :-(

Dear Forum,

A docker container doesn’t start running and I don’t know why :frowning:

The forum doesn’t allow my to post links.
So i replaced ‘/’ by ‘_’ !

I’m using Linux Mint 21.3 and this docker version:

Client:
Version: 24.0.7
API version: 1.43
Go version: go1.21.1
Git commit: 24.0.7-0ubuntu2~22.04.1
Built: Wed Mar 13 20:23:54 2024
OS_Arch: linux_amd64
Context: default

Server:
Engine:
Version: 24.0.7
API version: 1.43 (minimum version 1.12)
Go version: go1.21.1
Git commit: 24.0.7-0ubuntu2~22.04.1
Built: Wed Mar 13 20:23:54 2024
OS_Arch: linux_amd64
Experimental: false
containerd:
Version: 1.7.12
GitCommit:
runc:
Version: 1.1.12-0ubuntu2~22.04.1
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:

This is the docker container I would like to get running:
github.com_joinmarket-webui_jam-docker

I’m successfully logged in with:

sudo docker login

I successfully pulled with:

sudo docker pull ghcr.io_joinmarket-webui_jam-standalone:latest

I tried to run the container with:

sudo docker run --rm -it
–add-host host.docker.internal:host-gateway
–env JM_RPC_HOST=“host.docker.internal”
–env JM_RPC_PORT=“18443”
–env JM_RPC_USER=“abc…”
–env JM_RPC_PASSWORD=“abc…”
–env JM_NETWORK=“regtest”
–env APP_USER=“ulawun”
–env APP_PASSWORD=“b1tc01nt0them00n”
–env ENSURE_WALLET=“true”
–env REMOVE_LOCK_FILES=“true”
–env RESTORE_DEFAULT_CONFIG=“true”
–env WAIT_FOR_BITCOIND=“true”
–volume jmdatadir:root.joinmarket
–publish “8080:80”
joinmarket-webui_jam-standalone

but I got the error:
Unable to find image ‘joinmarket-webui_jam-standalone:latest’ locally
docker: Error response from daemon: pull access denied for joinmarket-webui_jam-standalone, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.
See ‘docker run --help’.

I get this docker image list with:

docker image list
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io_joinmarket-webui_jam-standalone latest 7514ab016aa3 6 months ago 726MB

I get this empty docker container list with:

sudo docker container list
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

Why is the container list empty ?
What should I do to get it run ?
Any ideas ?
Thanks a lot :slight_smile:


Please, format your post according to the following guide: How to format your forum posts
In short: please, use </> button to share codes, terminal outputs, error messages or anything that can contain special characters which would be interpreted by the MarkDown filter. Use the preview feature to make sure your text is formatted as you would expect it and check your post after you have sent it so you can still fix it.

Example code block:

```
echo "I am a code."
echo "An athletic one, and I wanna run."
```

After fixing your post, please send a new comment so people are notified about the fixed content.


You need to use the full image name, the same way as you use it while pulling the image:

sudo docker run --rm  -it \
--add-host host.docker.internal:host-gateway \
--env JM_RPC_HOST="host.docker.internal" \
--env JM_RPC_PORT="18443" \
--env JM_RPC_USER="abc..." \
--env JM_RPC_PASSWORD="abc..." \
--env JM_NETWORK="regtest" \
--env APP_USER="ulawun" \
--env APP_PASSWORD="b1tc01nt0them00n" \
--env ENSURE_WALLET="true" \
--env REMOVE_LOCK_FILES="true" \
--env RESTORE_DEFAULT_CONFIG="true" \
--env WAIT_FOR_BITCOIND="true" \
--volume jmdatadir:_root_.joinmarket \
--publish "8080:80" \
ghcr.io_joinmarket-webui_jam-standalone:latest

Which is the way docker image ls showed it as well.

Thanks a lot meyay :slight_smile:
You solved it :slight_smile:
The docker run command is three times wrong in this description:

Your project seems like it could really use Docker Compose

1 Like

The documentation seems to assume that you build the image: https://github.com/joinmarket-webui/jam-docker?tab=readme-ov-file#building-notes

I am pretty sure it would help if you share with the maintainers that the current description leads to unnecessary confusion. Best way to do so is to open an issue in the GitHub project.

Thanks a lot meyay :slight_smile:
I opened that issue in the GitHub project.

1 Like