Skip to content

Commit

Permalink
note on immutable tags
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Apr 10, 2015
1 parent 4aaa960 commit 4d8aef6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions components/pierone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,24 @@ Pier One
========

**Pier One** is STUPS' Docker registry with immutable tags, repo permissions, S3 backend and OAuth.

You can push Docker images to Pier One using the Docker command line client:

.. code-block:: bash
$ # replace "teamid" with your team's ID
$ docker tag EXISTING-IMAGE-ID pierone.stups.example.org/teamid/myapp:0.1
$ docker push pierone.stups.example.org/teamid/myapp:0.1
**How can I delete Docker images?**
Docker images cannot be deleted as Pier One tries to ensure immutable deployment artifacts for audit compliance.

You can use the "-SNAPSHOT" tag suffix for mutable test artifacts:

.. code-block:: bash
$ docker tag first-image-id pierone.stups.example.org/teamid/myapp:0.1-SNAPSHOT
$ docker push pierone.stups.example.org/teamid/myapp:0.1-SNAPSHOT
$ # now let's point our tag to some other image..
$ docker tag some-other-image-id pierone.stups.example.org/teamid/myapp:0.1-SNAPSHOT
$ docker push pierone.stups.example.org/teamid/myapp:0.1-SNAPSHOT # works!

0 comments on commit 4d8aef6

Please sign in to comment.