spring-guides/gs-spring-boot-docker

build failure 'permission denied'

grimace opened this issue · 1 comments

env:
Ubuntu 18
Apache Maven 3.3.9
openjdk version "1.8.0_181"
Docker version 17.03.2-ce, build f5ec1e2

I can run install, but when I run:
mvn install dockerfile:build

I get these errors:
Sep 16, 2018 2:51:42 PM org.apache.http.impl.execchain.RetryExec execute INFO: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80:

Permission denied Sep 16, 2018 2:51:42 PM org.apache.http.impl.execchain.RetryExec execute INFO: Retrying request to {}->unix://localhost:80 Sep 16, 2018 2:51:42 PM org.apache.http.impl.execchain.RetryExec execute INFO: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80:

Permission denied Sep 16, 2018 2:51:42 PM org.apache.http.impl.execchain.RetryExec execute INFO: Retrying request to {}->unix://localhost:80 Sep 16, 2018 2:51:42 PM org.apache.http.impl.execchain.RetryExec execute INFO: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80:

Permission denied Sep 16, 2018 2:51:42 PM org.apache.http.impl.execchain.RetryExec execute INFO: Retrying request to {}->unix://localhost:80 [WARNING] An attempt failed, will retry 1 more times

any ideas?

guess I needed 'sudo'