docker

command
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 2 Imported by: 0

README

Docker example

This examples how to use ace with docker volumes to mount secrets and identity and expand them using ace env as an entrypoint.

It also shows that it works with a scratch image, which may be useful in statically compiled projects.

How to run

GOOS=linux go build -o env .
docker build -t slaskis/ace-example:scratch .
docker run \
	--mount type=bind,source="$(pwd)"/.env.ace,target=/run/secrets/env,readonly \
	--mount type=bind,source="$(pwd)"/identity,target=/run/secrets/identity,readonly \
	slaskis/ace-example:scratch

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL