Page 1 of 1
Docker for puppy
Posted: Sat 20 Jun 2020, 13:09
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.
Thanks
Posted: Sat 20 Jun 2020, 18:24
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.
Posted: Sat 20 Jun 2020, 19:56
by step
@jpit3, thank you. What referer page posts the docker-compose download link?
Posted: Sat 20 Jun 2020, 20:39
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
Posted: Sat 20 Jun 2020, 21:27
by jplt3
step wrote:@jpit3, thank you. What referer page posts the docker-compose download link?
Maybe this
https://docs.docker.com/compose/install/
Posted: Sat 20 Jun 2020, 21:28
by jplt3
I really don't know , sorry , try and tell us if it works.
Posted: Sun 21 Jun 2020, 22:07
by step
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.