Comments (5)
Hey there,
I apologize for the shameless plug, but I noticed you were considering using phusion/baseimage
for its zombie reaping capabilities but were concerned about the size and having to port it to Debian.
I happen to have written a tool just for that. It's called tini
, and it's used in a handful of official Docker images (see here: https://github.com/docker-library/official-images#init) — although it's not officially endorsed. Thought you might want to have a look!
If you're curious; you can find it here on Github: https://github.com/krallin/tini
from docker-stacks.
I love the name already, 'tini' !
On 10 September 2015 at 19:45, Thomas Orozco [email protected]
wrote:
Hey there,
I apologize for the shameless plug, but I noticed you were considering
using phusion/baseimage for its zombie reaping capabilities but were
concerned about the size and having to port it to Debian.I happen to have written a tool just for that. It's called tini, and it's
used in a few official Docker images (see here:
https://github.com/docker-library/official-images#init). You might want
to have a look.If you're curious; you can find it here on Github:
https://github.com/krallin/tini—
Reply to this email directly or view it on GitHub
#24 (comment)
.
from docker-stacks.
@krallin thanks for sharing! I will definitely look into it.
from docker-stacks.
Started a branch with tini replacing supervisord. Works as advertised. I need to beat up each image a bit more to ensure there's no surprises.
One point worth clarifying: we're still going to have to set tini to run as root in the images, not because it needs to do so but because our start-notebook.sh script supports options that require root privileges, namely the jovyan UID switch and granting sudo.
from docker-stacks.
Sounds cool. I've been trying out tini, as well. I'd be curious to know what you find out from your stress tests, @parente.
from docker-stacks.
Related Issues (20)
- Running jupyterlab as root instead of jovyan when running in rootless docker mode HOT 5
- Setting NB_USER for running the container should also set XDG_CACHE_HOME to that users home HOT 11
- Support for Ubuntu 23.10 version HOT 1
- The home dir should be '/root', not '/home/root', when starting the container and set the env 'NB_USER' to 'root'. HOT 2
- Conda environment not fully set in Jupyter HOT 6
- Error to start docker service using older image HOT 16
- Broken docker-stacks-foundation image HOT 1
- Broken docker-stacks-foundation image #2 HOT 2
- Install latest spark version automatically
- [jupyter/tensorflow-notebook] Kernel stays in Busy mode indefinitely HOT 6
- [BUG] Healthcheck fails when using a custom runtime dir HOT 5
- After starting the container with NB_USER=root, NB_UID=0, and NB_GID=0, $HOME environment variable is still /home/jovyan HOT 3
- Python version pinning mechanism in docker-stack-foundation does not match comment description HOT 1
- GitHub ARM64 runners are now available HOT 4
- seems broken: Infinite API requests to api/kernels/<changing-constantly>/channels?session_id=<changing-constantly> and kernel error HOT 5
- NB_USER does not have permissions to mounted directory HOT 16
- Update docker HOT 6
- Add container images for the GPU version of TensorFlow and PyTorch Notebook HOT 7
- Is the latest build correctly labeled on quay.io HOT 3
- Updates to Docker Hub have stopped HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-stacks.