-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Hi,
I am using the gradle-docker-plugin which is based on this library.
Using the plugin I observe the following problem (see issue 93):
When I try to push an image with a dash in the namespace name using DockerPushImage, I get the following error message:
Invalid namespace name (cdh-images), only [a-z0-9_] are allowed, size between 4 and 30
The follwoing does not work:
task pushWithDatasetManagementImage(type: DockerPushImage) {
imageName '<repository-ip>:5000/cdh-images/dashes-are-allowed-here'
}
This works:
docker push <repository-ip>:5000/cdh-images/dashes-are-allowed-here
This works:
task pushWithDatasetManagementImage(type: DockerPushImage) {
imageName '<repository-ip>:5000/cdh_images/dashes-are-allowed-here'
}
bmuschko commented the issue with:
The error message is triggered by the underlying Docker Java library.
Reactions are currently unavailable