docker template scaffold

Description

Choose an application template or service template(s) and scaffold a new project

This command is experimental on the Docker client.

It should not be used in production environments.

To enable experimental features in the Docker CLI, edit the config.json and set experimental to enabled. You can go here for more information.

Usage

docker template scaffold application [<alias=service>...] OR scaffold [alias=]service [<[alias=]service>...]

Options

Name, shorthand Default Description
--name Application name
--org Deploy to a specific organization / docker hub user (if not specified, it will use your current hub login)
--path Deploy to a specific path
--platform linux Target platform (linux|windows)
--server Deploy to a specific registry server (host[:port])
--set , -s Override parameters values (service.name=value)

Parent command

Command Description
docker template Use templates to quickly create new services
Command Description
docker template config Modify docker template configuration
docker template inspect Inspect service templates or application templates
docker template list List available templates with their informations
docker template scaffold Choose an application template or service template(s) and scaffold a new project
docker template version Print version information

Examples

docker template scaffold react-java-mysql -s back.java=10 -s front.externalPort=80 docker template scaffold react-java-mysql java=back reactjs=front -s reactjs.externalPort=80 docker template scaffold back=spring front=react -s back.externalPort=9000 docker template scaffold react-java-mysql --server=myregistry:5000 --org=myorg