fly console

Run a console in a new or existing machine

Usage

fly console [flags]

Options

-a,  --app                     Application name 
     --build-arg               Set of build time variables in the form of NAME=VALUE pairs. Can be specified multiple times. 
     --build-local-only        Only perform builds locally using the local docker daemon 
     --build-nixpacks          Build your image with nixpacks 
     --build-only              Only build the image without running the machine 
     --build-remote-only       Perform builds remotely without using the local docker daemon 
     --build-target            Set the target build stage to build if the Dockerfile has more than one stage 
-C,  --command                 command to run on SSH session 
-c,  --config                  Path to application configuration file 
     --cpus                    Number of CPUs 
     --dockerfile              Path to a Dockerfile. Defaults to the Dockerfile in the working directory. 
     --entrypoint              ENTRYPOINT replacement 
-e,  --env                     Set of environment variables in the form of NAME=VALUE pairs. Can be specified multiple times. 
     --file-literal            Set of literals to write to the Machine, in the form of /path/inside/machine=VALUE pairs, where VALUE is the base64-encoded raw content. Can be specified multiple times. 
     --file-local              Set of files to write to the Machine, in the form of /path/inside/machine=<local/path> pairs. Can be specified multiple times. 
     --file-secret             Set of secrets to write to the Machine, in the form of /path/inside/machine=SECRET pairs, where SECRET is the name of the secret. The content of the secret must be base64 encoded. Can be specified multiple times. 
     --host-dedication-id      The dedication id of the reserved hosts for your organization (if any) 
-i,  --image                   image to use (default: current release) 
     --image-label             Image label to use when tagging and pushing to the fly registry. Defaults to "deployment-{timestamp}". 
     --machine                 Run the console in the existing machine with the specified ID 
     --memory                  Memory (in megabytes) to attribute to the VM 
     --no-build-cache          Do not use the cache when building the image 
-p,  --port                    Publish ports, format: port[:machinePort][/protocol[:handler[:handler...]]])
		i.e.: --port 80/tcp --port 443:80/tcp:http:tls --port 5432/tcp:pg_tls
		To remove a port mapping use '-' as handler, i.e.: --port 80/tcp:- 
-r,  --region                  The target region (see 'flyctl platform regions') 
-s,  --select                  Select the machine on which to execute the console from a list. 
     --skip-dns-registration   Do not register the machine's 6PN IP with the internal DNS system 
-u,  --user                    Unix username to connect as 
     --vm-cpu-kind             The kind of CPU to use ('shared' or 'performance') 
     --vm-cpukind              The kind of CPU to use ('shared' or 'performance') 
     --vm-cpus                 Number of CPUs 
     --vm-gpu-kind             If set, the GPU model to attach (a100-pcie-40gb, a100-sxm4-80gb, l40s, a10) 
     --vm-gpukind              If set, the GPU model to attach (a100-pcie-40gb, a100-sxm4-80gb, l40s, a10) 
     --vm-gpus                 Number of GPUs. Must also choose the GPU model with --vm-gpu-kind flag 
     --vm-memory               Memory (in megabytes) to attribute to the VM 
     --vm-size                 The VM size to set machines to. See "fly platform vm-sizes" for valid values 
     --wg                      Determines whether communication with remote builders are conducted over wireguard or plain internet(https) 

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output