Comments (4)
That's sufficient for sure. Thank you very much.
from docker-images.
Lines I can change when using Sysbox:
- exec dind dockerd
+ exec dockerd
I can also probably remove these 2 files at initialization:
docker-images/devcontainer/scripts/prepare_image.sh
Lines 114 to 115 in 28a99ee
With rm -f /etc/subuid /etc/subgid
on entrypoint.sh.
from docker-images.
@ctalledo, I was waiting to be able to run sysbox myself to verify whether sysbox-runc would inject any environment variable to make it easy for me to detect whether the container is running with sysbox or not, but there's no extra variable.
Do you have any idea on whether this can be accomplished? (without having to mount the docker socket and inspecting the container on host for the runtime).
from docker-images.
Hi @felipecrs,
I was waiting to be able to run sysbox myself to verify whether sysbox-runc would inject any environment variable to make it easy for me to detect whether the container is running with sysbox or not, but there's no extra variable.
Yes I think in general we avoid inserting env variables into the container because we want it to resemble a clean Linux host environment as much as possible.
One easy way to detect if the container is running with Sysbox is to look for sysboxfs
in the container mounts (e.g., mount | grep sysboxfs
). Would this do or do you need a more formal method?
from docker-images.
Related Issues (18)
- Redirect docker daemon output to log file HOT 1
- Add rsync
- Add skopeo
- Upgrade S6-Overlay to v3 HOT 1
- Create a minimal variant of the image HOT 1
- add another tool gcloud HOT 3
- Support arm64 Docker image platform HOT 3
- Unpin JDK HOT 1
- Allow to work as docker on docker (not docker in docker)
- Add Oh My Bash HOT 1
- Unable to Get & Post via http://host.docker.internal:3375/v1.24 HOT 5
- Dependency Dashboard
- Configure Renovate to update Docker CE (apt)
- Configure cache for GitHub Actions
- Implement automated versioning with semantic-release
- [how-to] Mount Jenkins agent .m2 in devcontainer HOT 5
- Add tests for Volta stub HOT 1
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-images.