You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,11 @@ For now, there's only one measly example but more (for more complex cases) will
29
29
Here, CATPOD uses the [test playbook](https://github.com/fpodschwadek/catpod/blob/main/test.yml) to create a container from the Docker `hello-world` image remove itself when done.
30
30
31
31
```bash
32
-
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v ./test.yml:/tmp/test.yml --rm fpod/catpod test.yml
32
+
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v ./test.yml:/tmp/test.yml --rm fpod/catpod /tmp/test.yml
33
33
```
34
34
35
+
Note that the file path used at the end of this command refers to the path inside the CATPOD container the file was mounted to, in this case `/tmp/text/yml`.
36
+
35
37
## Vault
36
38
37
39
You can use CATPOD to encrypt data with Ansible Vault by using the `vault` followed by anything you would use with locally installed `ansbile-vault`. For example, you can use the following command to encrypt a string:
0 commit comments