atmos emulator up
Use this command to start (or reuse) the emulator's long-running container. The container is labeled by its canonical instance address and outlives the atmos process, so it stays available for subsequent commands.
By default the emulator persists its state across down/up by bind-mounting a host directory under the XDG cache ($XDG_CACHE_HOME/atmos/emulator/<instance>, overridable with ATMOS_XDG_CACHE_HOME) onto the emulator's data directory. Pass --ephemeral for a throwaway instance, or use atmos emulator reset to wipe persisted state.
Usage
atmos emulator up <component> --stack <stack> [flags]
Examples
# Start (or reuse) the aws emulator in the plat-ue2-dev stack
atmos emulator up aws --stack=plat-ue2-dev
# Start a throwaway instance that does not persist state
atmos emulator up aws --stack=plat-ue2-dev --ephemeral
# Using the emu alias
atmos emu up aws --stack=plat-ue2-dev
Arguments
component- Required. The emulator component to start (for example,
aws).
Flags
-s, --stack- Required. The stack the emulator component belongs to (for example,
plat-ue2-dev). --ephemeral- Run without persisting state; data is discarded on
down. Persistence is enabled by default, so this forces a throwaway instance for thisup(overriding the component'sephemeral:config). Also settable withATMOS_EMULATOR_EPHEMERAL=true.
See Also
atmos emulator down— Stop and remove the emulator container (state is kept)atmos emulator reset— Stop the emulator and wipe its persisted stateatmos emulator ps— List running emulators in the stack