Invalid Docker Tag Value

I am trying to create an OwnCloud client client for which Owncloud docs explain that you need to use docker:

Assuming you are in the root of the ownCloud Client's source tree, you can build an image from this Dockerfile like this: cd admin/win32/docker docker build . -t ownCloud-client-win32:<version> 

I get an error with this exact command, so following docker build docs , I moved the point to the end. But then I get the following error:

 $ docker build -t ownCloud-client-win32:2.1 . invalid value "ownCloud-client-win32:2.1" for flag -t: Error parsing reference: "ownCloud-client-win32:2.1" is not a valid repository/tag See 'docker build --help'. 

Why ownCloud-client-win32:2.1 not a valid tag name?

Then I just tried running docker build . which is successful, but then I get an unlabeled image.

Does anyone know how I can solve this?

ps. I do not know if this is important, but the corresponding Dockerfile is here .

+5
source share
1 answer

no uppercase, try owncloud-client-win32: 2.1

+23
source

Source: https://habr.com/ru/post/1247514/