coiled / feedback

A place to provide Coiled feedback
14 stars 3 forks source link

Add interactive mode to coiled run #249

Open aterrel opened 11 months ago

aterrel commented 11 months ago

interactive commands in docker are really useful for debugging things. I would be great to have it on coiled. e.g.

docker run -it ubuntu:latest /bin/bash

ntabris commented 11 months ago

Hi, @aterrel.

We do have the ability currently to SSH into containers running on Coiled: https://docs.coiled.io/user_guide/ssh.html

But I suspect that's not exactly what you're asking for. Are you thinking something like, say, coiled run -it /bin/bash (or coiled run -it ipython, etc)? Or something else?

ntabris commented 11 months ago

Or with a container, e.g., coiled run --container daskdev/dask:latest -it ipython.

aterrel commented 11 months ago

I can probably get what I want with the ssh guide, but as a feature being able to have docker just drop me into the container is a nice one line command I use a lot to debug the container. I would just mark it down as a feature that would make devs lives a bit easier.

ntabris commented 11 months ago

feature being able to have docker just drop me into the container is a nice one line command I use a lot to debug the container

Maybe coiled cluster ssh --dask does what you want?