The 1Password command-line tool allows access to your 1Password account with the shell command `op`
1M+
op allows for automation of common administration tasks, access to vault items, and the ability to manage users using scripts or the shell!
To use op with your host machine's existing config (or to persist configuration after the container exits):
docker run -it -v $HOME/.op:/home/opuser/.op 1password/op /bin/bash
To create a script that uses op, include it in your own Dockerfile based on this image:
FROM 1password/op
COPY ./my-script.sh /home/opuser/
RUN chmod +x ~/my-script.sh
ENTRYPOINT ~/my-script.sh
To learn more about the op command-line tool, visit the getting started guide
The op commane-line tool requires a 1Password account.
Content type
Image
Digest
sha256:03822a932…
Size
68.3 MB
Last updated
7 days ago
docker pull 1password/op:2-beta