Skip to main content

Environment Variables

sealos env is a command in the Sealos command-line tool, used to display the current environment variables supported by sealos and their current values.

Basic Usage

Viewing Environment Variables

To view the environment variables, you can use the sealos env command:

sealos env

Viewing Environment Variables and Descriptions

To view the environment variables and their descriptions, you can use the sealos env -v command:

sealos env -v

How to Set Environment Variables

BUILDAH_LOG_LEVEL=debug sealos images
SEALOS_REGISTRY_SYNC_EXPERIMENTAL=true sealos build -t xxx .

That's the usage guide for the sealos env command, and we hope it has been helpful. If you encounter any problems during usage, feel free to ask us.