@vinnie: you deviated (and complicated yourself) far too much versus the initial goal. I believe on this path nobody will help you further. you talk about alien words (for me) like vscode, vscodium, docker, void. In a forum with "expertise" on tiny core mostly.
This is true but I went from wanting to chroot (which partially worked) to trying docker (which is still sort of a chroot after all) because I couldn't continue on the same path (due to the specifics of tinycore).
The topic is now: run TC (64 bits) in chroot of a linux distro, like Alpine (64 bits).
You can NOT run TC (64 bits) on Alpine (on 32 bits), even if you have a 64 bits CPU.
ok but i am trying to use both alpine and tinycore in 64bit
...
The main problem here is they/scripts assumed few TC specific rules: you are not user root, and you have few variable already defined, and you have some symbolic-links already defined. (curaga ponted you to one of them, like /etc/sysconfig/tce). But what the hell you basically accomplish in the end with tce-load script? it is just downloading a *.tcz file + its dependencies from a sever, then extract its content in few PRE-DEFINED folders like /usr/local/{bin, lib).
it's exact, but in fact one of my hypothesis had been to unzip the packages by hand, but I was told to me that it wouldn't work
So you hacked/ understand and modified few scripts (not only one!) in TC, just to run some programs that TC provides?Because you did not find THAT program (ex: dillo) in the main (Alpine?) distribution?And you almost DOUBLED all the libraries in memory?? because in main Apline (musl libc) you need to load them (ex:libcrypt.so.1 compiled against muls libc) to run Apline, but then you load again similar library (ex: libcrypt.so.2 compiled against gnu libc) asked for by your program (dillo?).These are fake example, but you understand the drill, do you?
Unfortunately I have not found a way to start the program I need in Alpine.
On alpine vscodium worked with archlinux chroot, flatpack (but with some features I didn't like), a version od docker with void and stop...
Appimage doesn't work, i tried with alpine's gcompat libraries but nothing, i tried with sgerrand's glibc on github but nothing, i tried codeserver installing it in different ways but there were some problems...
In the end I thought to chroot tinycore since it was a distro that I already knew a little bit (and actually it has been recommended to me even if who did it didn't know that I already was a tinycore user), and then since there were some problems I fell back on docker that now works but I have to fix some things.
I can understand that from your point of view I have not been focused only on one thing but it is also true that I tried all in search of a solution and that I was forced to change when when I got stuck with a specific solution attempt.
Summary:With limited resources you are advised AGAINST using CHROOT for big/demanding programs: Firefox, LibreOffice. You can play in your dust/sand box (chroot) with puppies only.
Have a nice day.
I don't agree with this, I don't think there is a more efficient method than chroot outside of running the program on the same host pc os.
It's true, there is the overhead of some libraries started in a duplicate way, but don't forget that shared libraries are also an advantage used mainly in the linux world but the other operating systems (windows, mac) have always done the opposite.
Yes my pc is not very powerful, anyway it can start firefox and vscodium on docker without too many problems.
Good night