Add and Manage Docker Deployment VMs
You can add and manage Docker deployment VMs from the Organization Administration page's Build Executors tab.
Note:
You can't add or manage Docker deployment VMs if VB Studio is connected to the built-in free account. If you want to add Docker deployment VMs, you'll need to configure VB Studio to connect to your OCI account.- In the
left navigator, click Organization
.
- Click the Build Executors tab.
- Click the VM Pool tab and follow one of these procedures:
- To add Docker deployment VMs after you have added the initial VM, see Add Docker Deployment VMs.
- To view, start, stop, delete, or view the Docker VM logs, see Manage Docker VMs.
- To manage disk usage for a Docker VM, see Manage Docker VM Resources.
Add Docker Deployment VMs
When you add a Docker deployment VM, you allocate an OCI VM compute instance to run your builds in Docker executors.
- From the VM Pool tab, click + Add VMs.
- Add details to the Creating Docker Executors dialog:
- For VCN Select, choose Default or Custom.
- If you chose Default, click Create. You are finished with this task.
- If you chose Custom, continue to the next step.
- Fill out the additional details for the custom VCN:
- Click Validate Network Setup.
- Click Create.
Manage Docker VMs
You can view, start, stop, or delete a Docker deployment VM,view the VM log from the Organization Administration page's Build Executors tab, or show available resources for the VM. You can also reset, view the log, or show available resources for the Docker management VM.
From the VM Pool tab, choose one of the actions shown in the following table:
Action | How To |
---|---|
View a Docker deployment VM’s or Docker management VM's log | Click Action
![]() |
Start or stop a Docker deployment VM | Click Action
![]() To start or stop multiple Docker deployment VMs, select their check boxes, click Update Selected and select Start selected VMs or Stop selected VMs. |
Delete a Docker deployment VM | Click Action
![]() To delete multiple Docker deployment VMs, select their check boxes, click Update Selected and select Delete selected VMs. |
Reset a Docker management VM | Click Action ![]() |
View and clean up VM resources | Click Action ![]() |
View the projects associated with a restricted Docker deployment VM. | In the Restricted column, hover over ![]() |
Manage Docker VM Resources
You can view the total disk usage available for a Docker Management VM or Docker Deployment VM and delete images or containers to free up disk space.
For a quick look at the disk usage for a Docker VM, hover over the Disk Usage bar to view usage percentage, GB used, total GB available, and the date that the data was last updated.
The data on this page is only updated every hour or so. For real time usage and additional detail, view the Resources page for the VM.
To view the Resources page for a Docker VM, click and select Show Resources.
Note:
If you are viewing Docker Management VM resources, you will see the Internal Registry Size instead of the Builds Workspace Size.From here you can view total disk usage for the VM, as well as usage for individual images and containers.
The following table describes actions you can take to free disk space.
Action | How To |
---|---|
Delete an individual image (for Docker deployment VMs). | In the Images tab, click the trash can next to the image. |
Free disk space by removing images that are no longer in use. | In the Images tab, click the Clean Images/Free Diskspace button at the bottom. |