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 Lab 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 Lab session.

Please note that you should just restart the kernel within Jupyter Lab 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. If the container has an Integrated Workspace, your notebook files and data will also be lost. However, if you have a mounted workspace, it should not affect any files saved to your Jupyter root folder (i.e. your workspace) since that simply mirrored a folder on your local computer.

You can read more information about the difference between integrated and mounted workspaces.

Other Functionality

Click the ‘EXEC’ 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, but in general it is recommended just to use Terminal within Jupyter Lab 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.