You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per a discussion I had with @jkuruzovich we've agreed it would be interesting to add a new command:
carme ssh
The carme ssh command is designed to be run in either a Carme project directory, or an arbitrary directory containing python code. The command does the following:
Start a new Docker container using the available or default image
Mount the current directory into the container
Connect the user's terminal session to the container
Questions we will need to address:
What happens if a carme container is already running?
What if a user wants port mapping?
Other questions will arise I'm sure - feel free to leave any comments below!
The text was updated successfully, but these errors were encountered:
@aeksco Right now there is a docker wrapper, but I've not used that code in the latest implementation. A simple way is to assume the container is running. You might start with that.
I've imagined that multiple different packages might map to a single shortcut name. For example, Jupyter could be implemented by a bunch of different containers. The shortcut name is added to the carme-config.yaml file.
If someone issued carme ssh jupyter it should know to ssh into the Juptyer container. I think that using the directory Similarly, someone should be able to use carme ssh carmelabs/base (the image name). A challenge would be containers that aren't running in background already.
As per a discussion I had with @jkuruzovich we've agreed it would be interesting to add a new command:
The
carme ssh
command is designed to be run in either a Carme project directory, or an arbitrary directory containing python code. The command does the following:Questions we will need to address:
Other questions will arise I'm sure - feel free to leave any comments below!
The text was updated successfully, but these errors were encountered: