Docker

About

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers.

Installation

Change enable from False to True in the docker section (cf module installation).

vscode-anywhere:
    docker:
        enabled: True

You can also take a look at the VSCode-Anywhere docker module configuration.

For more details, please visit the official documentation.

Requirements

Privileges

Windows privileges

VSCode-Anywhere will install Docker only if you have the windows_admin profile set because it requires administrator rights.

Note that without this profile, you will not be able to use all the features of the ms-azuretools.vscode-docker extension.

In addition to the windows_admin profile, Docker requires Windows 10 64-bit: Pro, Enterprise, or Education (Build 15063 or later) and Hyper-V and Containers Windows features must be enabled.

Also BIOS-level hardware virtualization support must be enabled in the BIOS settings.

If you haven’t set thewindows_adminprofile, you can manually install Docker. Please take a look at the documentation.

VSCode

VSCode extensions

ms-azuretools.vscode-docker

This extension makes it easy to build, manage and deploy containerized applications from Visual Studio Code.

Docker extension for VSCode

VSCode settings

{
    "dash.languageIdToDocsetMap.dockerfile": [
        "docker"
    ]
}

VSCode keybindings

No keybindings.

Software

Windows software

chocolatey

To work, the extension must have docker-desktop running.

Linux software

nix

To work, the extension must have started dockerd. To start Docker, you need sudo privileges:

sudo /home/myuser/VSCode-Anywhere/apps/vscode-anywhere/home/.nix-profile/bin/dockerd

Assuming you have installed in the directory /home/myuser/VSCode-Anywhere.

MacOS software

brew

To work, the extension must have docker-desktop running.

Documentation

VSCode-Anywhere

Environment

No environment.

Specific settings

No specific settings.

Last updated