Hi everybody,
I’m new about Boundary Project and am trying to test it locally.
On my macOs BigSur with Docker version 20.10.7 (probably latest version …) I’m testing commands specified at GitHub page and I verified error “Couldn’t start Boundary with IPC_LOCK. Disabling IPC_LOCK, please use --privileged or --cap-add IPC_LOCK”.
The error disappears by adding the “–privileged” parameter but any command displays Boundary usage command line help:
docker run --privileged --network host -t hashicorp/boundary -p 9200:9200 -p 9201:9201 -p 9202:9202 -e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:postgres@0.0.0.0:5432/postgres?sslmode=disable' boundary
Usage: boundary <command> [args]
Commands:
accounts Manage Boundary accounts
auth-methods Manage Boundary auth methods
auth-tokens Manage Boundary auth tokens
authenticate Authenticate the Boundary command-line client
config Manage resources related to Boundary's local configuration
connect Connect to a target through a Boundary worker
database Manage Boundary's database
dev Start a Boundary dev environment
groups Manage Boundary groups
host-catalogs Manage Boundary host catalogs
host-sets Manage Boundary host sets
hosts Manage Boundary hosts
logout Delete the current token within Boundary and forget it locally
managed-groups Manage Boundary managed groups
roles Manage Boundary roles
scopes Manage Boundary scopes
server Start a Boundary server
sessions Manage Boundary sessions
targets Manage Boundary targets
users Manage Boundary users
also for this command:
docker run --privileged --network host -t hashicorp/boundary -p 9200:9200 -p 9201:9201 -p 9202:9202 -e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:postgres@0.0.0.0:5432/postgres?sslmode=disable' boundary database init -config /boundary/config.hcl
How can I solve?
Thanks in advance and I’m sorry for trivial questions