Closed PhilPalmer closed 6 years ago
Dear @PhilPalmer :
the community has been discussing a lot about the latest tag. The problem with the latest tag is that is useful but it is it really bad for reproducibility. For example, your pipelines can start failing if we update to a new version of the tool in registry and you are using the latest.
We are encouraging to use the right tag and not the latest. Then, we don;t have differences between: biocontainers/biocontainers:latest and biocontainers/biocontainers:v1.0.0_cv4.
Regards Yasset
the latest tags were removed because a bad practive. With latest, you do not know which version you are running. If an older release is rebuilt (for a fix for example), it will become the latest, though not being the latest version. You should always use tagged versions.
@ypriverol @Raynooo To rebuilt containers however, some Dockerfiles may still refer to biocontainers/biocontainers:latest (have not checked). If true, we should update all those Dockerfiles.
@PhilPalmer: 1) you don't need to rebuild containers, only to use tagged version of containers 2) regarding your error, is it a directory change that fails. you try to go to dir /home/ec2-user (a volume mount?). By default, containers are executed as user "biocontainer", so it may not have the rights to go in this directory. You can still force user root if needed ( docker run -u root ....)
waiting to fix older dockerfiles that refers to biocontainer/biocontainers:latest , I gonna add latest back to the base image
Thanks for your quick replies. I can give you a list of the containers I saw still had the biocontainers/biocontainers:latest
as a base image, it was all but one of the images I checked.
In Dockerfile, you just need to change
USER biodocker
to
USER root
Okay great thanks, I'll give that a go
Regarding fact you need latest, all you need is to pull tagged image and add a latest above
docker pull myimage:myversion
docker tag myimage:myversion myimage:latest
Thanks for your help the USER root
worked a charm for a quick fix. I will have to have a look into the alternatives
Hi,
The company where I work uses lots of your Docker images on our platform. All of them were specified with the
:latest
tag. Yesterday it seems like all of your Docker containers with the latest tag were removed and so the containers all stopped working for us because they could not be found.Do you know why all of docker containers with the latest tag were removed?
I tried rebuilding all of the docker containers using the Dockerfiles from this repository however all of them were built from the base image
biocontainers/biocontainers:latest
. As this image no longer exists I had to build them from the base imagebiocontainers/biocontainers:v1.0.0_cv4
. Now when I try running them over the platform I get the following error:I can run them locally fine. But not over the platform. Looks like the problem may be to do with executable permisions for one (or more) of the file(s). However it only occurs on the platform and not locally and occurs immediately after the container is pulled.
Do you have any idea what might be causing this issue? What is the difference between the
biocontainers/biocontainers:latest
andbiocontainers/biocontainers:v1.0.0_cv4
images? Would it be possible to add back the images with thelatest
tag?Thanks in advance, any help would be much appreciated