Docker Assemble (experimental)

Estimated reading time: 1 minute

This is an experimental feature.

Experimental features provide early access to future product functionality. These features are intended for testing and feedback only as they may change between releases without warning or can be removed entirely from a future release. Experimental features must not be used in production environments. Docker does not offer support for experimental features. For more information, see Experimental features.

To enable experimental features in the Docker CLI, edit the config.json file and set experimental to enabled.

To enable experimental features from the Docker Desktop menu, click Settings (Preferences on macOS) > Daemon and then select the Experimental features check box.

Overview

Docker Assemble (docker assemble) is a plugin which provides a language and framework-aware tool that enables users to build an application into an optimized Docker container. With Docker Assemble, users can quickly build Docker images without providing configuration information (like Dockerfile) by auto-detecting the required information from existing framework configuration.

Docker Assemble supports the following application frameworks:

System requirements

Docker Assemble requires a Linux, Windows, or a macOS Mojave with the Docker Engine installed.

Install

Docker Assemble requires its own buildkit instance to be running in a Docker container on the local system. You can start and manage the backend using the backend subcommand of docker assemble.

To start the backend, run:

~$ docker assemble backend start`
Pulling image «…»: Success
Started backend container "docker-assemble-backend-username" (3e627bb365a4)

When the backend is running, it can be used for multiple builds and does not need to be restarted.

Note: For instructions on running a remote backend, accessing logs, saving the build cache in a named volume, accessing a host port, and for information about the buildkit instance, see --help .

For advanced backend user information, see Advanced Backend Management.

Assemble, Docker Enterprise, plugin, Spring Boot, .NET, c#, F#