Hello,
I am on SuSE Manager 5.0.2 Server on a vm no. srv181.
Also installed a current gitlab 17.8 ce on another vm srv184.
And installed sles 15 sp6 as build host for SuSE Manager on vm srv183.
On vm no. 3 i have successfully configured docker, to build via Dockerfile a working container. That image i have tagged and pushed to the gitlab docker registry:
docker tag my-apache2 srv184.linux.lab:5050/suma/suma_repository/my-apache2
docker push srv184.linux.lab:5050/suma/suma_repository/my-apache2
srv183:~/http_dockerfile # docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
my-apache2 latest 59290484845d 41 minutes ago 148MB
srv184.linux.lab:5050/suma/suma_repository/my-apache2 latest 59290484845d 41 minutes ago 148MB
httpd 2.4 4d98e80840bb 2 weeks ago 148MB
So far the environment underneath. Now configured the SuSE Manager Image Section:
And here the “Dockerfile”:
FROM httpd:2.4
----------
ID: mgr_registries_login
Function: mgrcompat.run
Name: docker.login
Result: true
Comment: Module function docker.login executed
Started: 14:44:03.129290
Duration: 222.647
SLS: images.docker
Changed: ret:
retcode: 0.0
Errors: [
]
Results:
srv184.linux.lab:5050/suma/suma_repository: true
----------
ID: mgr_buildimage
Function: mgrcompat.run
Name: docker.build
Result: false
Comment: Module function docker.build threw an exception. Exception: invalid tag 'srv184.linux.lab:5050/suma/suma_repository/apache:latest': invalid reference format
Started: 14:44:03.352298
Duration: 4.048
SLS: images.docker
Changed: {}
----------
But the build failed, and I do not know why it fails.
Please give me support in solving it. Thank you.
Best regards
Stefan