WARNING! Shells started by this plugin use an unsecured connection, have no password protection, and provide root access to your machine. Use at your own risk!
This code is heavily influenced by : https://github.com/thaJeztah/docker-shell/tree/shell_extension and more details can be found in this post.
Step 1 : If you have Docker Desktop 4.10.0 or newer installed then you already have the "docker extension" command available. We recommend upgrading Docker Desktop but if you need to stay on a pre 4.10.0 version then you can install the Docker Extension CLI. Instructions can be found here.
Step 2 : Build the extension image
make image
Step 3 : Install extension and verify
make install
If you want to make changes to the menu.sh script, docker-compose or ui components you can run the following command to quickly uninstall, rebuild and install updated extension :
make uninstall image install
Step 4 : Uninstall extension
make uninstall