Closed fsp-c closed 3 years ago
Things are in a significant state of flux regarding building cocalc-docker from source right now. I hope it will stabilize within the next week.
In the meantime, you could just take our officially published image -- which works for you, right -- and do one of the following two things:
FROM ubuntu:20.04
, but you can put anything there for the image you want to start with. Just replace ubuntu:20.04
by cocalc's...sudo docker exec -it cocalc /bin/bash
and then apt update; apt install ...
right there.Hi William, Thanks for getting back to me so quickly!
I'm looking forward to following the development, and the potential stability in the future as you mentioned. Really appreciate all the work that must have gone into this project as it is really a perfect solution for my use case! Thanks!
I'm looking forward to following the development, and the potential stability in the future as you mentioned.
I'm revamping the cocalc part of the installation to just involve installing some pre-pbuilt packages from npmjs like this one https://www.npmjs.com/package/smc-hub
That will make the installation (and also development) process with cocalc-docker much more stable, rather than building smc-hub (and all the other part of cocalc) from source directly as part of the docker build.
That will make the installation (and also development) process with cocalc-docker much more stable, rather than building smc-hub (and all the other part of cocalc) from source directly as part of the docker build.
That sounds really promising for future customisation of docker images as well, as I suppose it will make it easier to differentiate between necessary parts of the application "engine room" and parts of the features that could be excluded or expanded upon for a specific use case? In my case, I guess I could potentially save some image space and build time, as I am not currently using all of the features in the image.
Due to some specific needs, I have attempted to install texlive-full through the Dockerfile instead of the basic texlive. I have now tried to build the docker image from this repo about 10 times or more. Each time I have built it, it has completed, but when accessing the localhost page and creating my account, any project, new or old appears offline, even though the "project starting" message is gone.
After all the attempts to include texlive-full, I decided to try and build the project as is, with no modifications, right after I had cloned the repo, to see if it was my modifications causing the issues. But it turned out that my problem persisted.
This is how all projects are stuck after starting or creating them:
I can't access the table of processes either as it tells me to restart the project, to no avail:
Under the "New" tab, when trying to create a new file, clicking on any of the file types doesn't do anything:
As a side note, the project works flawlessly when running it from the sagemathinc/cocalc dockerhub image. I just can't get it to work when building the image myself.
I hope someone can help with this problem as this project is exactly what I needed. Also, if more info is needed I will happily try my best to provide it!