How to use env
Kubefile (Sealfile):
FROM scratch
CMD ["echo $(KEY)"]
sealos built -t env:latest .
sealos run --env KEY=value env:latest
The terminal will output value
.
Kubefile (Sealfile):
FROM scratch
CMD ["echo $(KEY)"]
sealos built -t env:latest .
sealos run --env KEY=value env:latest
The terminal will output value
.