LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 07-01-2022, 06:09 PM   #1
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
docker on Slackware AArch64


Running the latest versions of docker on Slackware AArch64 is surprisingly easy and works perfectly.

You'll need the following packages, installed in the order listed below.

• libseccomp
• runc
• containerd
• tini
• docker-proxy
• docker
• docker-cli

You can build these packages yourself using SlackBuilds repository resources (some tinkering is required for ARM architecture). Alternatively, you can download the AArch64 versions from https://sarpi.penthux.net/index.php?p=rpia64currentpkgs or https://slackware.uk/sarpi/pkg/aarch64-current/.

Have fun!
Attached Thumbnails
Click image for larger version

Name:	docker_test_aarch64.png
Views:	30
Size:	23.1 KB
ID:	39200  
 
Old 07-03-2022, 01:41 AM   #2
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
docker on Slackware ARM 15.0

Running Docker on Slackware ARM 15.0 is as easy as it's always been. A walk-through guide on how to achieve it is available here: https://sarpi.penthux.net/index.php?p=docker

Pre-built packages are available to download from https://sarpi.penthux.net/index.php?p=rpiarmstablepkgs and https://slackware.uk/sarpi/pkg/arm-stable/ if you need them.
 
2 members found this post helpful.
Old 07-03-2022, 10:39 AM   #3
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Slackware Aarch64 comes with containerization out of the box. It is called "lxc". The man pages are excellent resources and there is also a guide on docs.slackware.com, here:
https://docs.slackware.com/howtos:misc:lxc

Docker is quite popular, but if you are looking for packages that are maintained by the Slackware distribution, this is also an option. It supports a minimal installation of Slackware within each container.

Last edited by mralk3; 07-03-2022 at 10:46 AM.
 
Old 07-03-2022, 01:36 PM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by mralk3 View Post
Slackware Aarch64 comes with containerization out of the box. It is called "lxc". The man pages are excellent resources and there is also a guide on docs.slackware.com, here:
https://docs.slackware.com/howtos:misc:lxc

Docker is quite popular, but if you are looking for packages that are maintained by the Slackware distribution, this is also an option. It supports a minimal installation of Slackware within each container.
LXC and Docker can be used for the same purposes but are very different in the way they work and their functionality. There are benefits and drawbacks depending on what the user intends to do with them.

LXC is a great OS virtualization method for working in a real Linux environment. However, it's nowhere near as portable as Docker. LXC images are nowhere near as lightweight as Docker images, but LXC images are more lightweight than the overheads of a physical or virtual machine.

Docker is great for running applications with all the configurations required to run them included within any images. Which means when images are distributed the settings and versions of the services used don’t change. So, with Docker the whole application can be shared without breaking the code when it's run under different OS environments. When a Docker container works on my Linux system you can take that container and run it on your Windows, macOS, FreeBSD system, or whichever OS you have Docker installed. LXC does not afford this scalability or portability. On top of all that, users don't have to set up VMs to deploy Docker images and/or run containers.

Docker initialy used LXC (2013?) but has since revised its code to run a completely new container architecture.

There's nothing wrong with using unofficial packages for getting things done, or broadening the scope of Slackware users, especially when official packages aren't available. Slackbuilds.org offers all the Docker (and its dependencies) build scrtipts. So, why not make good use of them? Why not, indeed.

Last edited by Exaga; 07-03-2022 at 01:39 PM. Reason: tpyo
 
  


Reply

Tags
container, docker, sarpi, slackware aarch64



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Docker Founder Explains What Docker is all About LXer Syndicated Linux News 0 08-21-2014 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration