Docker Extension
Daytona provides a Docker Extension for using an embedded version of the Daytona client and server tools directly within Docker Desktop.
The Docker Extension allows you to create, open, list, and delete Workspaces.
View the Daytona Docker Extension in the Docker Desktop Extensions Marketplace or GitHub repository.
Prerequisites
- Docker Desktop installed on your machine.
Installation
- Run the following command to install the Daytona Docker Extension
Wait while Daytona Docker Extension sets up your Workspace. It handles all the initialization and configuration of your environment.
Create a Workspace
Create a new Workspace using the Daytona Docker Extension within the Docker Desktop.
- Click
Create Workspace
to start creating a new Workspace. - Select the Workspace resource. You can choose from the following options:
- Browse your Git repositories.
- Select a predefined sample.
- Find with URL.
- Select the
IDE
from the dropdown list. - Select the
Target
from the dropdown list. - Click
Next
to proceed.
Daytona Docker Extension will create a new Workspace with the selected settings. You can now open the Workspace and start working on your project.
Open an Existing Workspace
Daytona Docker Extension provides an option to open an existing Workspace in your IDE. This enables you to quickly access and work on your projects in your preferred development environment. With Daytona Docker Extension, you can effortlessly switch between different Workspaces and maintain an efficient workflow.
-
Click the IDE button of the Workspace you want to open.
This will automatically launch your Workspace in the selected IDE.
Manage a Workspace
Daytona Docker Extension provides an option to access and manage your Workspace, providing a detailed overview of the Workspace configuration.
Once a Workspace is created, you will be presented with the following options and information:
-
Name
The name of the Workspace, and the GitHub repository it is associated with.
-
Status
The current status of the Workspace, such as
Running
orStopped
. -
Target
The target environment for the Workspace.
-
IDE
The IDE used to open the Workspace.
-
Click the bin icon to delete the Workspace from the Daytona Docker Extension.
Delete a Workspace
Daytona Docker Extension provides an option to delete one or more Workspaces, helping you manage your development environments by removing those that are no longer needed.
- Click the bin icon to delete your Workspace.