Difference between revisions of "S390x/Docker"

From Alpine Linux
Jump to: navigation, search
(Created page with "== Running Alpine containers on Docker on Alpine s390x == After [https://wiki.alpinelinux.org/wiki/S390x installing] Alpine on s390x, Docker needs to be installed first by ad...")
 
 
(One intermediate revision by one other user not shown)
Line 33: Line 33:
  
  
== Running Alpine containers on Docker other on s390x distros ==
+
== Running Alpine containers on Docker on other s390x distros ==
  
 
Run:
 
Run:
  
 
<code> # docker run -ti alpine sh </code>
 
<code> # docker run -ti alpine sh </code>
 +
 +
 +
[[category:IBM]]

Latest revision as of 06:50, 14 September 2019

Running Alpine containers on Docker on Alpine s390x

After installing Alpine on s390x, Docker needs to be installed first by adding community respository:

For stable release, run:
# echo http://dl-cdn.alpinelinux.org/alpine/latest-stable/community >> /etc/apk/repositories
For rolling release, run:
# echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories
Note: community repository must match main repository's release version (stable or edge)

Install Docker:

# apk update

# apk add docker

Start Docker service:

# service docker start

Allow Docker service to auto start on next boot:

# rc-update add docker

Run Alpine s390x container:

# docker run -ti alpine sh


Running Alpine containers on Docker on other s390x distros

Run:

# docker run -ti alpine sh