Skip to content
This repository was archived by the owner on Mar 2, 2023. It is now read-only.
This repository was archived by the owner on Mar 2, 2023. It is now read-only.

Pushing the Docker image using FMP gives access denied #4

@arun-gupta

Description

@arun-gupta

Pushing the Docker image using FMP gives the following error:

services $ mvn fabric8:push -Pdocker
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] services
[INFO] name
[INFO] greeting
[INFO] webapp
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building services 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- fabric8-maven-plugin:3.5.34:push (default-cli) @ services ---
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building name 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- fabric8-maven-plugin:3.5.34:push (default-cli) @ name --
[INFO] F8> Running generator wildfly-swarm
[INFO] F8> wildfly-swarm: Using Docker image fabric8/java-jboss-openjdk8-jdk:1.3 as base / builder
[INFO] F8> The push refers to repository [docker.io/arungupta/name]
0e014839ff57: Preparing   
f14ef5f204ff: Preparing   
85bb608219b7: Preparing   
160c15b8811e: Preparing   
498396e67e5c: Preparing   
2e544e952df4: Waiting     
e07090bc1b2d: Waiting     
c8af1cb1c035: Waiting     
64062a6d7af2: Waiting     
dfb51d70f8af: Waiting     
56939e74679c: Waiting     
d1be66a59bc5: Waiting     
[ERROR] F8> Unable to push 'arungupta/name' : denied: requested access to the resource is denied  [denied: requested access to the resource is denied ]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] services ........................................... SUCCESS [  3.287 s]
[INFO] name ............................................... FAILURE [  1.382 s]
[INFO] greeting ........................................... SKIPPED
[INFO] webapp ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.026 s
[INFO] Finished at: 2018-02-13T15:22:44-08:00
[INFO] Final Memory: 35M/415M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.34:push (default-cli) on project name: Unable to push 'arungupta/name' : denied: requested access to the resource is denied  -> [Help 1]

Pushing the image using Docker CLI works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmaven

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions