These are chat archives for sbt/sbt-native-packager

17th
Aug 2015
Simeon H.K. Fitch
@metasim
Aug 17 2015 20:22
When you do docker:publishLocal, how do people deal with dockerd authentication?
Nepomuk Seiler
@muuki88
Aug 17 2015 20:35
No idea :(
Simeon H.K. Fitch
@metasim
Aug 17 2015 20:36
'k. I ended up doing docker:stage and then running docker build . as root in the target/docker/stage directory
Gary Coady
@fiadliel
Aug 17 2015 20:45
@metasim Because there didn’t seem to be a way to inject auth information without altering the environment, the plugin punts on the issue, and requires you to have run docker login as the build user, for any repositories requiring authentication.
Your local repository won’t need any authentication anyway (at least, I’ve never seen it), so it doesn’t matter until you run sbt docker:publish
Simeon H.K. Fitch
@metasim
Aug 17 2015 20:49
@fiadliel Thanks. If one is using boot2docker it doesn't need auth, but I'm on a Linux server, and probably just need to learn how the TLS stuff works.
...and not using a repository (which I should, but haven't had time to set up yet)
Gary Coady
@fiadliel
Aug 17 2015 20:51
It just assumes thedocker command works. It’s a thin wrapper around docker build and docker push, so you can always run those commands manually.