diff --git a/app/components/createContainer/createContainerController.js b/app/components/createContainer/createContainerController.js index ecc556182..5997747f7 100644 --- a/app/components/createContainer/createContainerController.js +++ b/app/components/createContainer/createContainerController.js @@ -403,7 +403,6 @@ function ($q, $scope, $state, $stateParams, $filter, Container, ContainerHelper, } function loadFromContainerImageConfig(d) { - // If no registry found, we let default DockerHub and let full image path var imageInfo = ImageHelper.extractImageAndRegistryFromRepository($scope.config.Image); RegistryService.retrieveRegistryFromRepository($scope.config.Image) .then(function success(data) { diff --git a/app/components/createContainer/createcontainer.html b/app/components/createContainer/createcontainer.html index fdae6b4de..fd282d5b8 100644 --- a/app/components/createContainer/createcontainer.html +++ b/app/components/createContainer/createcontainer.html @@ -21,24 +21,30 @@
Image configuration
- -
- +
+ + The Docker registry for the {{ config.Image }} image is not registered inside Portainer, you will not be able to create a container. Please register that registry first.
- - -
-
- - +
+ +
+
+ + +
+
+ + +
+
+
-
Ports configuration
@@ -106,7 +112,7 @@
- + Cancel {{ state.formValidationError }}