Skip to content

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

Installation

  1. Run the following command to install the Daytona Docker Extension
Terminal window
docker extension install daytonaio/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.

  1. Click Create Workspace to start creating a new Workspace.
  2. Select the Workspace resource. You can choose from the following options:
  • Browse your Git repositories.
  • Select a predefined sample.
  • Find with URL.
  1. Select the IDE from the dropdown list.
  2. Select the Target from the dropdown list.
  3. Click Next to proceed.
Opening the project <project> from workspace <workspace> in <IDE>
Setting up IDE customizations...
Waiting for code server to install...
Installing extensions...
Setting up IDE settings...
...

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.

  1. 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 or Stopped.

  • Target

    The target environment for the Workspace.

  • IDE

    The IDE used to open the Workspace.

  • Delete

    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.

  1. Click the bin icon to delete your Workspace.