Coder Social home page Coder Social logo

nsenter1's People

Contributors

glensc avatar justincormack avatar subfuzion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nsenter1's Issues

Add curl into the image

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,

After ssh, Is there a way to create directory or file?

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.

add license

please add a license for this project, on how the code can modified or redistributed

Run some commands inside VM

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?

Changes to ip addresses are not saved

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?

Docker Desktop support

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?).

How to use this image to expose volumes to other containers?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.