Docker for puppy

Virtual machines, emulation, etc.
Post Reply
Message
Author
User avatar
jplt3
Posts: 118
Joined: Mon 08 Apr 2019, 20:40
Location: Planet Earth

Docker for puppy

#1 Post by jplt3 »

Hello all,

for those who are interested in using docker in puppy ,
here the documentation about docker ,
i made a sfs in bionipup64 with the latest docker binaries : docker 19.03.11

I get the binaries for docker here and for docker-compose here

Code: Select all

Fles in docker-binaries-19.03.11.sfs

├── containerd
├── containerd-shim
├── ctr
├── docker
├── docker-compose
├── dockerd
├── docker-init
├── docker-proxy
└── runc

Code: Select all

Usage :

run in a terminal: dockerd

Code: Select all

Test if docker work good :

run in another terminal: docker run hello-world
Be careful in puppy the size of dockers images,container increase faster and take some space ,
all is store in /var/lib/docker/ so you can symlin this directory outside your save file.

here , here , here some reading about cleaing spcae in docker.
Attachments
dockerworld.png
(166.38 KiB) Downloaded 114 times
dockerd.png
(146.03 KiB) Downloaded 114 times
JpLt

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Thanks

#2 Post by mikeslr »

Thank you, jplt3.

I'll try it out shortly and advise of any problems, insights. I emailed UncleScrooge who, on the Beginer's Section, requested assistance with docker.

As I may have mentioned on his thread, I can think of only two circumstances where something like docker would really be beneficial: Web-browsers and Wine. As things stand, I've only found two species of Web-browsers which honor Spot's restriction that applications run-as-spot are not permitted to access any folder other than Spot's own. Those two are various firefoxes (even those built as portables) and Mike Walsh's (non-portable) builds of Google-Chrome SFS. [Whether a dedicated and experience hacker could overcome Spot's restrictions has been questioned]. But, in any event, it would be nice to be able to run even lighter weight browsers, such as palemoon or Seamonkey, or some of the portable-Chromium-clones with their nice GUIs and 'Bells & Whistles' in a functional container.

Wine would be icing on the cake. Wine does not provide, and can't use, Windows' Anti-malware. It expects the operating system to take necessary precautions. Puppies run as Root. Although it is questionable whether that combination creates a significant security risk, still there is that question.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#3 Post by step »

@jpit3, thank you. What referer page posts the docker-compose download link?
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

#4 Post by O.F.I.N.S.I.S. »

Hi.

Is this DOCKER the same as this one used for MOD Devices: https://linuxmusicians.com/viewtopic.php?f=48&t=21640 ?
https://www.moddevices.com/

I tried this to get it to run, but DOCKER from BionicPup64 PPM didn't work properly.

Thanks
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

User avatar
jplt3
Posts: 118
Joined: Mon 08 Apr 2019, 20:40
Location: Planet Earth

#5 Post by jplt3 »

step wrote:@jpit3, thank you. What referer page posts the docker-compose download link?
Maybe this https://docs.docker.com/compose/install/
JpLt

User avatar
jplt3
Posts: 118
Joined: Mon 08 Apr 2019, 20:40
Location: Planet Earth

#6 Post by jplt3 »

O.F.I.N.S.I.S. wrote:Hi.

Is this DOCKER the same as this one used for MOD Devices: https://linuxmusicians.com/viewtopic.php?f=48&t=21640 ?
https://www.moddevices.com/

I tried this to get it to run, but DOCKER from BionicPup64 PPM didn't work properly.

Thanks
I really don't know , sorry , try and tell us if it works.
JpLt

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#7 Post by step »

O.F.I.N.S.I.S. wrote:Hi.

Is this DOCKER the same as this one used for MOD Devices: https://linuxmusicians.com/viewtopic.php?f=48&t=21640 ?
https://www.moddevices.com/

I tried this to get it to run, but DOCKER from BionicPup64 PPM didn't work properly.

Thanks
It is the same docker. Trouble is that the OP instructs you to start run.sh, which in turn BUILDS a docker image in your local machine (BionicPup64 I'm guessing). The build fails because it runs apt-get and a bunch of other commands that are probably missing from your Puppy.

It's all DOCKER, but there is a difference between running a pre-made docker IMAGE with "docker run", and building your own IMAGE with "docker build".

You could ask the OP to provide a pre-built image (a.k.a. container) and try running that from the docker command line.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

Post Reply