Setup
Installation
opctl is distributed as a self-contained executable, so installation generally consists of:
- Downloading the OS specific binary
- Adding it to your path
Prerequisites
The default container runtime interface implementation relies on API access to a docker daemon to run containers. Install Docker for your platform
OSX
curl -L https://github.com/opctl/opctl/releases/download/0.1.25/opctl0.1.25.darwin.tgz | tar -xzv -C /usr/local/bin
Linux
curl -L https://github.com/opctl/opctl/releases/download/0.1.25/opctl0.1.25.linux.tgz | sudo tar -xzv -C /usr/local/bin
Windows
download and run the windows installer
Updating
to get the newest release of opctl
opctl self-update
IDE Plugins
VSCode
- install vscode-yaml plugin
- add to your user or workspace settings
"yaml.schemas": {
"https://raw.githubusercontent.com/opctl/opctl/master/opspec/opfile/jsonschema.json": "/op.yml"
}
- edit or create an op.yml and observe intellisense hotness