SKOPEO-LOGIN(1)
π SKOPEO-LOGIN β ok bestie, let's get you logged in π
Manual page: skopeo-login(1) π part of the skopeo family, and yes it's the one that gets you into the club (aka your container registry).
β¨ NAME β¨
skopeo-login β login to a container registry. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
skopeo login [options] registry
π¦ DESCRIPTION π¦
So basically: skopeo login logs you into a specified registry server with the correct username and password. It's giving "showing your ID at the door" energy π«Ά
skopeo login reads the username and password from STDIN. no cap.
You can also set the username and password using the username and password flags if typing it into stdin isn't your moment.
And the path of the credentials file? You, yes you, can specify it by setting the authfile flag. main character control over your own credentials file β¨
π OPTIONS π
Heads up bestie: also see skopeo(1) for options placed before the subcommand name. iykyk π§
--password,-p=password β password for the registry. literally just the password π--password-stdinβ take the password from stdin. feeding it in through the pipe instead of the command line, we love a discreet queen π--username,-u=username β username for the registry π--authfile=path β path of the managed registry credentials file. On Linux, the default is${XDG_RUNTIME_DIR}/containers/auth.json. Seecontainers-auth.json(5)for more details about the default on other platforms π
The default value of this option is read from the REGISTRY_AUTH_FILE environment variable. yes, env var girlies, this one's for you π
--compat-auth-file=path β instead of updating the default credentials file, update the one at path, and use a Docker-compatible format. it's giving "I speak Docker too" π³--get-loginβ return the logged-in user for the registry. Return error if no login is found. lowkey a vibe check on whether you're already in π--cert-dir=path β use certificates at path (*.crt,*.cert,*.key) to connect to the registry. Default certificates directory is/etc/containers/certs.dπ--help,-hβ print usage statement. the "help me bestie" flag π«Ά--tls-verify=bool β require HTTPS and verify certificates when talking to the container registry or daemon. Default toregistry.confsetting. security queen behavior, no skipping this unless you mean it π--verbose,-vβ write more detailed information to stdout. not me wanting all the lore π
π EXAMPLES π
the classics, preserved exactly, because facts don't change even when the vibe does:
$ skopeo login docker.io
Username: testuser
Password:
Login Succeeded!
$ skopeo login -u testuser -p testpassword localhost:5000
Login Succeeded!
$ skopeo login --authfile authdir/myauths.json docker.io
Username: testuser
Password:
Login Succeeded!
$ skopeo login --tls-verify=false -u test -p test localhost:5000
Login Succeeded!
$ skopeo login --cert-dir /etc/containers/certs.d/ -u foo -p bar localhost:5000
Login Succeeded!
$ skopeo login -u testuser --password-stdin < testpassword.txt docker.io
Login Succeeded!
$ echo $testpassword | skopeo login -u testuser --password-stdin docker.io
Login Succeeded!
ate. every single time π₯
π SEE ALSO π
skopeo(1)skopeo-logout(1)containers-auth.json(5)containers-registries.conf(5)containers-certs.d.5.md
go read your siblings, they're iconic too π
π HISTORY π
May 2020, Originally compiled by Qi Wang qiwan@redhat.com β¨mailto:qiwan@redhat.comβ©
ok that's the whole page bestie, you're officially logged in and literate in skopeo-login(1) π
β¨ this was the skopeo-login(1) manual page (skopeo's own, from May 2020, originally compiled by Qi Wang) and honestly? iconic. periodt. ππ¦π
π¦ where this page comes from
- alpine 3.24: skopeo-doc 1.20.1-r2 Β· Apache-2.0
- arch rolling: skopeo 1.24.1-1 Β· Apache-2.0
- fedora 43: skopeo 1:1.20.0-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: skopeo 1:1.22.2-2.fc43
- fedora 43: skopeo 1:1.22.3-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: skopeo 1:1.22.0-2.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: skopeo 1:1.22.3-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- nixos 26.05: skopeo 1.22.2
- nixpkgs unstable: skopeo 1.24.1
- ubuntu resolute: skopeo 1.21.0~pre1-2build1 Β· Apache-2.0
- ubuntu stonking: skopeo 1.22.0+ds1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms