fly machines run

Run a machine

Options

NameDescription
--app, -a <app>Application name
--build-arg <build-arg>Set of build time variables in the form of NAME=VALUE pairs. Can be specified multiple times
--build-local-onlyOnly perform builds locally using the local docker daemon
--build-only
--build-remote-onlyPerform builds remotely without using the local docker daemon
--build-target <build-target>Set the target build stage to build if the Dockerfile has more than one stage
--config, -c <config>Path to application configuration file
--cpu-kind <cpu-kind>Kind of CPU to use (shared, dedicated)
--cpus <cpus>Number of CPUs
--detach, -dDetach from the machine's logs
--dockerfile <dockerfile>Path to a Dockerfile. Defaults to the Dockerfile in the working directory
--entrypoint <entrypoint>ENTRYPOINT replacement
--env, -e <env>Set of environment variables in the form of NAME=VALUE pairs. Can be specified multiple times
--id <id>Machine ID, if previously known
--image-label <image-label>Image label to use when tagging and pushing to the fly registry. Defaults to "deployment-{timestamp}"
--memory <memory>Memory (in megabytes) to attribute to the machine
--name, -n <name>Machine name, will be generated if missing
--no-build-cacheDo not use the cache when building the image
--org <org>The organization that will own the app
--port, -p <port>Exposed port mappings (format: edgePort[:machinePort]/[protocol[:handler]])
--region, -r <region>The region to operate on
--size, -s <size>Preset guest cpu and memory for a machine
--volume, -v <volume>Volumes to mount in the form of <volume_id_or_name>:/path/inside/machine[:<options>]