justincormack / nsenter1 Goto Github PK
View Code? Open in Web Editor NEWsimple nsenter to namespaces of pid 1
License: BSD Zero Clause License
simple nsenter to namespaces of pid 1
License: BSD Zero Clause License
Hi, Justin
Do you think it is possible to add a apk install curl
or something similar? I see we have traceroute, ping, ip and many useful tools in it, but curl is not.
Thanks,
I ssh using docker run -it --rm --privileged --pid=host justincormack/nsenter1
.
Now, I am trying to create a directory or a file and I am getting "Read-only file system"
/mnt # sudo mkdir data
/bin/sh: sudo: not found
/mnt # mkdir data
mkdir: can't create directory 'data': Read-only file system
/mnt # sh -c "echo 'Hello from Kubernetes storage' > /mnt/index.html"
sh: can't create /mnt/index.html: Read-only file system
Is there a workaround?
I am trying below:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/
and want to see how files get's stored.
please add a license for this project, on how the code can modified or redistributed
Hi Justin,
As the author of nsenter1 you are the only person probably who can help me with small issue:
Before starting our containers we want to run 2 commands inside VM host
‘’’
modprobe nfs
modprobe nfsd
‘’’
Could this be dine easily with ncenter1?
Hi,
I'm using this to add ip addresses exposed in the host OS (MacOS) so that I can map containers straight to the IP address.
This works until I restart docker and then the changes seem to be lost - am I missing something?
Not to sound ungrateful, because this is really really awesome, and I appreciate your work, but is there something preventing Docker Desktop from shipping with a CLI that handles this?
As far as I can tell there's been a few subpar approaches to getting a TTY with the docker host VM in OSX in the time since Docker Desktop was released, and plenty of open and closed issues in the Docker Desktop for Mac issue tracker. It seems like adding a CLI to do this would be a no brainer (and maybe it is, and you guys have it on your TODO list?).
Hi Justin, I'm trying to tail the docker logs from a Node app.
Of course the problem seems to access the files itself, and your project looks a promising step toward a solution.
Is there a way to have your project expose /var/lib/docker
as a volume that could be inherited by other containers?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.