Kitematic: Images pulled from Docker Hub default to 'latest'. Causes images to ERROR 404 when they do not lave a 'latest' tag.

Created on 2 Jul 2017  路  5Comments  路  Source: docker/kitematic

Expected behavior

Create a container with the chosen images from the Docker Hub.

Actual behavior

Images chosen without a 'latest' tag, ERROR 404 and fail to deploy.

Information about the Issue

Going through some of the issues reported for this repository, I picked up a trend that this issue references. Kitematic defaults to 'latest' tag even if it does not have a latest tag.

Steps to reproduce the behavior

  1. Open Kitematic
  2. Select an image you want to deploy
  3. Click "Create" and error will appear
enhancement

Most helpful comment

@fmeade this isn't a Kitematic behavior, but a docker behavior- By default the latest tag is what docker looks for.

The solution, as thaJeztah mentioned, is complex, as you'd have to select a random tag and hope that it corresponds to what the user is looking for.
One of the idea that was tossed around was, if the latest tag doesn't exist, then prompt the user to select a different tag.

All 5 comments

If the image you're creating a container from doesn't have a :latest tag (which is the default), you need to manually select the tag to use from the UI;

Click the three "dots" to open the details pane for the image

screen shot 2017-07-02 at 17 59 56

Click on the "selected tag"

screen shot 2017-07-02 at 18 00 07

Select the image tag you want to use:

screen shot 2017-07-02 at 18 00 28

Click the close button ("X"):

screen shot 2017-07-02 at 18 00 43

Then click "create" to create a container using the image (and tag) you selected

screen shot 2017-07-02 at 18 04 10

My goal of this ticket is the default should not be to 'latest', it should be to the first of the list of tags. I've been traversing through the code and found where it needs to be changed, but have not narrowed down the solution yet.

I'm not sure randomly picking the "first" tag is the right solution "first" may be a very old tag.

I had that thought as well. May be cool to some how sort by age of the tag in the list. Very well may be too much work than it's worth.

@fmeade this isn't a Kitematic behavior, but a docker behavior- By default the latest tag is what docker looks for.

The solution, as thaJeztah mentioned, is complex, as you'd have to select a random tag and hope that it corresponds to what the user is looking for.
One of the idea that was tossed around was, if the latest tag doesn't exist, then prompt the user to select a different tag.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matteo-bombelli picture matteo-bombelli  路  3Comments

jwschram picture jwschram  路  4Comments

djsowa picture djsowa  路  3Comments

natery2000 picture natery2000  路  3Comments

louia picture louia  路  3Comments