I installed docker and the image. I activated the image with sle2docker. I started the container, and tried to do stuff in it. However, it is always failing when I try to refresh the package repos.
ec2-user@ip-172-31-32-162:~> docker run --rm -it suse/sles11sp4-docker bash
bash-3.2# zypper ref
Refreshing service 'container-suseconnect'.
Problem retrieving the repository index file for service 'container-suseconnect':
[|]
Skipping service 'container-suseconnect' because of the above error.
There are no enabled repositories defined.
Use 'zypper addrepo' or 'zypper modifyrepo' commands to add or enable repositories.
SUSE connect says that the container module is installed:
[CODE]ec2-user@ip-172-31-32-162:~> sudo SUSEConnect --list-extensions
AVAILABLE EXTENSIONS AND MODULES
FREE EXTENSIONS
Toolchain Module 12 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-module-toolchain/12/x86_64
Legacy Module 12 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-module-legacy/12/x86_64
HPC Module 12 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-module-hpc/12/x86_64
Advanced Systems Management Module 12 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-module-adv-systems-management/12/x86_64
Web and Scripting Module 12 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-module-web-scripting/12/x86_64
SUSE Package Hub 12 SP3 x86_64 (Installed)
De-Install with: SUSEConnect -d -p PackageHub/12.3/x86_64
Containers Module 12 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-module-containers/12/x86_64
SUSE Linux Enterprise Software Development Kit 12 SP3 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-sdk/12.3/x86_64
Public Cloud Module 12 x86_64 (Installed)
De-Install with: SUSEConnect -d -p sle-module-public-cloud/12/x86_64
MORE INFORMATION
You can find more information about available modules here:
https://www.suse.com/products/server/features/modules.html[/CODE]
And the images themselves install and activate just fine.
So, what am I doing wrong? Does anyone have any advice for me? zypper works on the host system, just not on the containers.