Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image is named 'latest' and it should be 'openspeedtest' #30

Open
JoeNyland opened this issue Sep 3, 2024 · 0 comments
Open

Comments

@JoeNyland
Copy link

Docker images are usually referenced as org/image:tag, with org/image:latest being the latest version of the image. For example, if Google were to have an image called Gmail, then the image would be named google/gmail.

In OpenSpeedTest's case, the image is currently called latest, which doesn't make sense. It implies that the application is called 'latest', when in actual fact, the application is called 'openspeedtest'.

This caught me out and I'm an experienced Docker user. I'm sure it's caught others out, too (for example: #18) and especially those who are just getting started with Docker.

It gets even more confusing when someone wants to lock their deployment to a specific version. With the current image name, they would:

docker run ... openspeedtest/latest:v2.0.5 # Is is the latest version I'm running here? Or is it v2.0.5?

Looking at that command, it looks like I'm running the latest version, but I'm not...

The standard solution is to name the image openspeedtest/openspeedtest, then to users would run which version they wanted to in an expected way:

docker run ... openspeedtest/openspeedtest
docker run ... openspeedtest/openspeedtest:latest
docker run ... openspeedtest/openspeedtest:v2.0.5

I understand that it's suboptimal having 'openspeedtest' essentially duplicated, but this is pretty common in the open source world of Docker images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant