How to stop, start, and delete containers.
If you click on a container name in the left-hand panel of ContainDS you will see the container details screen:
Starting and Stopping the Container
Click the ‘STOP’ button to temporarily halt the container. This should break the connecting to the Jupyter or Streamlit session in your browser if you have one.
You can then click ‘START’ again to resume the container. This will completely reboot the Linux virtual machine, and Docker is likely to assign a new port number. Thus you will need to click ‘WEB’ to launch a new Jupyter/Streamlit session.
Please note that you should just restart the kernel within Jupyter itself if you want to reset your Jupyter kernel without restarting the whole container.
The ‘RESTART’ button in ContainDS stops then starts the container in one click.
Deleting the Container
To delete the container (environment/workspace pair), hover over its name in the left-hand panel and click the X button. This will prompt you to confirm:
This operation will completely remove the container. You will lose any changes you have made to the environment – e.g. any Python packages you have installed. However, your workspace is stored on your computer’s hard drive, and that will not be deleted.
Click the ‘CMD’ button to launch a terminal prompt on your computer which accesses the Linux command line terminal within your container. You can install further Python packages that way, especially for Streamlit containers. For Jupyter, in general it is recommended just to use Terminal within Jupyter Lab or Notebook to manipulate the environment.
The Settings tab (to the right of the Home and Clone tabs) allows you to manipulate some Docker-specific settings for your container. Since ContainDS is designed to help you use Docker without worrying about the details, the settings tab won’t be covered here. Please get in touch if you have any questions about these settings.
Clone allows you to make a copy of the container’s environment and is covered in more detail next.