-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi,
Thanks for making this nice lib.
I have a problem to pull images from a private repo on docker hub. I basically just followed the steps in README, like so:
import tugboat.AuthConfig
val auth = AuthConfig(user, password, email)
docker.auth(auth)().foreach(println)
docker.as(auth).images.pull(imageName).registry("https://index.docker.io/v1/").stream {
case Pull.Status(msg) => println(msg)
case Pull.Progress(msg, _, details) =>
println(msg)
details.foreach { dets =>
println(dets.bar)
}
case Pull.Error(msg, _) => println(msg)
}
And it prints
Error: image .... not found
I confirmed that the same credential works with docker login. and from command line i was able to pull that particular image without problems.
Did I do anything wrong?
Cheers,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels