General TC > Tiny Core in Containers

TinyCoreLinux 13.x docker container on x86-64

(1/2) > >>

innovarew:
Hi there,

I was looking for running TinyCoreLinux as a docker container on x86-64, found some links from 3 years ago:
https://github.com/tatsushid/docker-tinycore/

However, I ended building a tinycore 13.x docker image from scratch, for my use, that can be found at:
https://github.com/innovarew/docker-tinycore

I'm just letting you know, to see if there's interest / or is useful for the tinycorelinux community.

Best, and thanks.
--
innovarew

linic:
Hi innovarew! I find your project awesome! I learned a lot!

I wanted to make an image of 14.x x86 so I made this https://github.com/linic/docker-tcl-core-x86.

Thanks for making https://github.com/innovarew/docker-tinycore and posting here!

linic:
For anyone interested, I made TCL Core x86 image with rust-1.75.0 here https://hub.docker.com/repository/docker/linichotmailca/tcl-core-rust-i586/general
There's the github repo that goes with it https://github.com/linic/tcl-core-rust-i586
In the image, if you
--- Code: ---sudo docker exec -it tcl-core-rust-i586-main-1 sh
--- End code ---
you'll be in
--- Code: ---/home/tc
--- End code ---
and you'll see 2 .tcz files. There's rust tcz compiled for i586 CPUs like the Pentium II from the IBM 560Z and an accompanying openssl tcz with libssl.so and libcrypto.so also compiled for i586. The tcz files can be retrieved by using
--- Code: ---sudo docker cp tcl-core-rust-i586-main-1:/home/tc/<name>.tcz .
--- End code ---
My IBM 560Z doesn't have enough RAM to tce-load them, but I believe they should work. I tested the code in the rust tcz file by adding it to my path and it works like it does in the docker container.

rhermsen:
Thank you innovarew and linic

I have been looking at both https://github.com/innovarew/docker-tinycore and https://github.com/linic/docker-tcl-core-x86

I tried to patch /opt/bootlocal.sh to have some additional commands executed during start-up, but found /opt/bootlocal.sh is not executed.

From what I get it should have started via: /etc/init.d/tc-config > /opt/bootsync.sh > /opt/bootlocal.sh

Still need to dig some more in the scripts, but if you have some pointers...

rhermsen:
Mostly solved while trying to debug:

/etc/init.d/tc-config
changed

--- Code: ---/opt/bootsync.sh
--- End code ---
to

--- Code: ---touch /tmp/bootsync.txt
/opt/bootsync.sh > /tmp/bootsync.txt 2>&1
--- End code ---

/opt/bootsync.sh
changed

--- Code: ---/opt/bootlocal.sh &
--- End code ---
to

--- Code: ---touch /tmp/bootlocal.txt
/opt/bootlocal.sh > /tmp/bootlocal.txt 2>&1

--- End code ---

Suspect background a process didn't work.

Navigation

[0] Message Index

[#] Next page

Go to full version