Skip to content

Commit

Permalink
Update 07_reproducibility_ii.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgillan authored Mar 4, 2024
1 parent 8390c58 commit c0e5bf9
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions docs/07_reproducibility_ii.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,38 +306,7 @@ docker tag docker.io/username/imagename:oldtag harbor.cyverse.org/project/imagen

The cached image laters will not change their `sha256` and both image tags will still be present after the new tag name is generated.

### :material-docker: push

By default `docker push` will upload your local container image to the [Docker Hub](){target=_blank}

We will cover `push` in more detail at the end of Day 2, but the essential functionality is the same as pull.

Also, make sure that your container has the appropriate [tag](./intro.md#tag)

First, make sure to log into the Docker Hub, this will allow you to download private limages, to upload private/public images:

```
docker login
```

Alternately, you can [link GitHub / GitLab accounts](https://hub.docker.com/settings/linked-accounts){target=_blank} to the Docker Hub.

To push the image to the Docker Hub:

```
docker push username/imagename:tag
```

or

```
docker push docker.io/username/imagename:tag
```
or, to a private registry, here we push to CyVerse private `harbor.cyverse.org` registry which uses "project" sub folders:

```
docker push harbor.cyverse.org/project/imagename:newtag
```

---

Expand Down

0 comments on commit c0e5bf9

Please sign in to comment.