I'm trying to build the OwnCloud desktop client, for which the Owncloud docs explain that docker should be used:
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 the docker build docs I moved the dot 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 is ownCloud-client-win32:2.1
not a valid tag name?
I then just tried running docker build .
, which runs successfully, but then I end up with an untagged image.
Does anybody have any idea how I can solve this?
ps. I don't know if it's important, but the relevant Dockerfile is here.
Docker tags are just an alias for an image ID. The tag's name must be an ASCII character string and may include lowercase and uppercase letters, digits, underscores, periods, and dashes. In addition, the tag names must not begin with a period or a dash, and they can only contain 128 characters.
You can also use rmi command with docker to remove images. It removes (and un-tags) one or more images from the Docker node. If an image has multiple tags, using this command with the tag as a parameter only removes the tag. If the tag is the only one for the image, both the image and the tag are removed.
No uppercase. Try: owncloud-client-win32:2.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With