Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Upload an image directly from dockerhub to Shifter

TBDOptionnal (for private dockerhub images)

Code Block
themeMidnight
$ shifterimg login registry-1.docker.io

Get the image from dockerhub by specifying the image account (optionnal for official image) and name

Code Block
themeMidnight
$ shifterimg pull registry-1.docker.io/alpine:latest
# OR
$ shifterimg pull registry-1.docker.io/library/alpine:latest

$ shifterimg images
fidis      docker     READY    4a28aef4f8   2020-10-16T14:52:41 registry-1.docker.io/alpine:latest
fidis      docker     READY    d0877b767c   2020-09-16T15:26:31 registry-1.docker.io/library/busybox:latest

$ srun --pty -p debug -N 1 shifter --image registry-1.docker.io/alpine:latest /bin/sh
~ $ cat /etc/alpine-release 
3.12.0

Run the image on the clusters

...