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

Notices


Reply
  Search this Thread
Old 10-09-2022, 01:58 PM   #1
giomat
Member
 
Registered: Jul 2017
Posts: 338

Rep: Reputation: 238Reputation: 238Reputation: 238
distrobox in slackware


Has anyone been able to play with distrobox in slackware?
I'm trying to create some containers using alienbob's docker packages as a backend for distrobox but i keep getting these error when executing distrobox-enter
Code:
Error response from daemon: path /sys is mounted on /sys but it is not a shared or slave mount
Error: failed to start containers: my-distrobox
and variations with /tmp and other system paths.
Docker itself runs okay and googling for the errors only gives me some very specific kubernetes threads which don't help much.

For anyone not aware of distrobox, it's a sort of container manager acting on top of docker or podman that makes it easy to install and run software from other distributions, more info here https://github.com/89luca89/distrobox
 
Old 10-09-2022, 02:24 PM   #2
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled
Check https://github.com/89luca89/distrobo...-shared-mounts
 
Old 10-09-2022, 02:43 PM   #3
giomat
Member
 
Registered: Jul 2017
Posts: 338

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
Thanks Windu, unfortunately the suggested solution is not working for me.
I ran the command "mount --make-rshared /" and also added it to my rc.local, but distrobox keeps spitting the same errors.
I verified that my root filesystem is indeed mounted as shared mount using this:
Code:
findmnt -o TARGET,PROPAGATION /
result:
Code:
TARGET PROPAGATION
/      shared
 
Old 12-14-2022, 03:31 AM   #4
Lanius
LQ Newbie
 
Registered: Dec 2022
Location: Poland
Distribution: OpenSUSE MicroOS
Posts: 22

Rep: Reputation: 23
Pardon my necroposting, but I was struggling with the same issue, and what fixed it, was installing podman locally (on user level).

Here's the guide: https://github.com/89luca89/distrobo...-static-manner

It might also be just more secure, since containers run as a regular user then.

If you'd want to have distrobox as a Slackware package, I made a SlackBuild for that: https://github.com/laniusone/slackbu...ster/distrobox
 
4 members found this post helpful.
Old 12-14-2022, 05:25 AM   #5
giomat
Member
 
Registered: Jul 2017
Posts: 338

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by Lanius View Post
Pardon my necroposting, but I was struggling with the same issue, and what fixed it, was installing podman locally (on user level).

Here's the guide: https://github.com/89luca89/distrobo...-static-manner

It might also be just more secure, since containers run as a regular user then.

If you'd want to have distrobox as a Slackware package, I made a SlackBuild for that: https://github.com/laniusone/slackbu...ster/distrobox
Thank you!! I was thinking about experimenting with podman since I had no luck using docker, but couldn't find the time do it
 
Old 12-14-2022, 05:29 PM   #6
Lanius
LQ Newbie
 
Registered: Dec 2022
Location: Poland
Distribution: OpenSUSE MicroOS
Posts: 22

Rep: Reputation: 23
Happy to help!
 
  


Reply



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: Distrobox: Try Multiple Linux Distributions via the Terminal LXer Syndicated Linux News 0 06-16-2022 10:21 PM
LXer: Distrobox 1.3.0: Run (pretty much) any Linux distro under almost any other LXer Syndicated Linux News 0 05-31-2022 07:32 PM
LXer: Run Distrobox on Fedora Linux LXer Syndicated Linux News 0 12-29-2021 08:10 PM
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Slackware Slackware Slackware!!!!! monkeymartin Slackware 5 03-28-2003 10:41 PM

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

All times are GMT -5. The time now is 09:45 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