A deployment type Shell for CloudShell apps.
- src The docker host driver, this driver contains all relevant logic for deploying and managing the container lifecycle
- scripts A python script for the Docker Image deployment type, simply invokes the relevant operations on the driver
- DataModel The relevant attributes, structure and metadata for representing Docker Hosts and deployment parameters
- Get CloudShell free SDK and install using the installation instructions. Open the CloudShell Portal.
- Import dockerShell.zip published in the latest release into CloudShell via Admin -> import Package
- Navigate to the Inventory tab and click on the 'add new' link
- Enter a name and provide the full IP address and port of the Docker Host (e.g http://55.44.2.3:4000 )
- In the next page, optionally provide the private IP of the container if hosted under amazon or other cloud provider
- If the host is a swarm host, repeat steps 1-5 to add the different nodes
- Navigate to the 'Manage Tab' on the CloudShell Portal
- Select Apps and click the 'Add' link
- Select the 'Docker Image' deployment type and enter a name for the app
- Fill in the following mundatory fields:
- Docker Host - The name of the docker resource you configured in the previous steps
- Docker Image - The image to create the app container from
- Optionally fill in the following fields:
- Container Env - Environment variables to set for the container. Use comma separated name=vlaue syntax. E.g: MYSQL_RANDOM_ROOT_PASSWORD=yes,MYSQL_ONETIME_PASSWORD=yes
- Container Ports - Additional ports to expose on the container in addition to those declared in the image
- Click on 'Settings' and add the app to the default 'Applications' category.
- Click 'Done'
- Create a new sandbox
- Click on +Apps/Services
- Select the App you've created in the previous step or a different app with docker deployment configured
- Hover on the app component and select the '>' icon representing 'commands' from the radial menu
- Run the 'Deploy App' command
- Download the latest ShellFoundry release
- Make open the repo folder in your preferred Python IDE
- After making changes, run ShellFoundry Package to create a new shell
- Import the Shell to CloudShell to test the changes
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D