Open itJunky opened 4 weeks ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
docker-compose pull linuxserver/mariadb:v10.5.15
will attempt to pull the image associated with the service called linuxserver/mariadb:v10.5.15
, which you won't have.
Either do docker compose pull bookstack_db
or docker pull linuxserver/mariadb:v10.5.15
But if i pull image without tag, i get latest, not needed old version and db container crashed again:
# docker-compose pull bookstack_db
Pulling bookstack_db ... done
# docker image ls -a | grep book
lscr.io/linuxserver/bookstack latest d0ede66c9a34 2 days ago 376MB
lscr.io/linuxserver/bookstack amd64-version-v24.05 f376a799148b 2 months ago 373MB
lscr.io/linuxserver/bookstack amd64-version-v24.02 cb88426e82dc 5 months ago 369MB
lscr.io/linuxserver/bookstack amd64-version-v23.10 170545cd1978 9 months ago 366MB
lscr.io/linuxserver/bookstack amd64-version-v23.01 ad907ee10d0a 18 months ago 270MB
lscr.io/linuxserver/bookstack amd64-22.11.1 dd123008ad9a 19 months ago 268MB
lscr.io/linuxserver/bookstack amd64-version-v22.10 1c5401a0f543 22 months ago 262MB
lscr.io/linuxserver/bookstack amd64-version-v22.09 2f16aaae5de7 23 months ago 257MB
lscr.io/linuxserver/bookstack amd64-version-v22.06 2a82fde91910 2 years ago 402MB
lscr.io/linuxserver/bookstack amd64-21.12.5 ba3f4445f98f 2 years ago 398MB
And i don't see bookstack_db images after pulling. When i try just add version as tag like you, i'm getting error about wrong tag:
# docker-compose pull linuxserver/mariadb:v10.5.15
ERROR: No such service: linuxserver/mariadb:v10.5.15
And here we go back to my first question. Where i can find list of correct tags for your special mariadb container?
You can not specify what tag to pull with docker(-)compose pull
, only docker pull
.
Compose pull will use the version specified for the services in your compose. There is two services in play, bookstack
and bookstack_db
. linuxserver/mariadb:v10.5.15
is not a service in your coompose.
Spad outlined two commands you can use, you did neither of them.
Tags are, like always, available on dockerhub, https://hub.docker.com/r/linuxserver/mariadb/tags
@Roxedus But in last message i did all two commands and show their output. Repeat it for you:
# docker-compose pull bookstack_db
Pulling bookstack_db ... done
and wrong command too: # docker compose pull bookstack_db
docker: 'compose' is not a docker command.
See 'docker --help'
and second command:
# docker-compose pull linuxserver/mariadb:v10.5.15
ERROR: No such service: linuxserver/mariadb:v10.5.15
Nowhere do we say to do docker-compose pull linuxserver/mariadb:v10.5.15
If you want to use docker-compose pull
, you need to set the image for the bookstack_db service to linuxserver/mariadb:v10.5.15
, then do a docker-compose pull bookstack_db
.
@Roxedus i see this command in message https://github.com/linuxserver/docker-bookstack/issues/222#issuecomment-2291478652 from @thespad
Now i have this line in compose:
bookstack_db:
image: lscr.io/linuxserver/mariadb
If i set:
bookstack_db:
image: lscr.io/linuxserver/mariadb:v10.5.15
Getting error:
Pulling bookstack_db ... error
ERROR: for bookstack_db manifest unknown
ERROR: manifest unknown
If i set:
bookstack_db:
image: linuxserver/mariadb:v10.5.15
Error is:
Pulling bookstack_db ... error
ERROR: for bookstack_db manifest for linuxserver/mariadb:v10.5.15 not found: manifest unknown: manifest unknown
ERROR: manifest for linuxserver/mariadb:v10.5.15 not found: manifest unknown: manifest unknown
The tag is 10.5.15
not v10.5.15
. You can see all of the valid tags here.
The tag doesn't exist. We simply used the example tag you provided, as you used the command wrong.
@thespad thanks for the link to list of tags. But i think in main repo need set specific version always, not latest.
There will always* be a latest
tag and it will continue to be the tag listed in all the documentation because there are frequently multiple valid current tags and no sensible way to guess which is appropriate for any given user.
If you don't specify a tag you will get latest
, that's not our decision it's part of the way docker is designed.
Is there an existing issue for this?
Current Behavior
I have old installation in docker-compose and now i need to update it, but can't do this because I don't know version of mariadb docker image in my old installation. I see mysql Ver 15.1 Distrib 10.5.15-MariaDB, for Linux (x86_64) using readline 5.1
But when i do docker-compose pull linuxserver/mariadb:v10.5.15 getting error ERROR: No such service: linuxserver/mariadb:v10.5.15
But if i don't set any version and run compose on my new machine getting another error infinitly:
Expected Behavior
I found only versions for bookstack https://hub.docker.com/r/solidnerd/bookstack/tags and see nothing when try to open some in lscr.io/linuxserver/mariadb what tags i need to use to correctly upgrade?
Don't use latest tag! It's always bad. I need to know about update everytime and don't want to know about update when run it on another machine and it is say
An Error Occurred
. WHAT ERRROR??? Shit happens? )) Error occurred... Need info about error reason!Steps To Reproduce
Run compose with some old version like 20 or lower. Than move data to another server and run compose with latest tags and you see stupid message "An Error Occurred" after login.
Environment
CPU architecture
x86-64
Docker creation
Container logs