From 3d16a12c4f05c322df1b9eaa400b0495f915f5c2 Mon Sep 17 00:00:00 2001 From: Deepika Shanmugam Date: Mon, 18 Mar 2024 17:10:45 +0100 Subject: [PATCH] Update Readme file --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ed282c..cef3898 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,8 @@ It's also possible to build and use a locally built image. See the ## Securing the Docker Compose ACAP using TLS The Docker Compose ACAP can be run either unsecured mode or in TLS mode with or without TCP socket. -The Docker Compose ACAP use unsecured mode without TCP socket creation as default. Use the "Use TLS" +The Docker Compose ACAP use unsecured mode without TCP socket creation as default. There is an option +to create TCP socket, if you need to access the Docker daemon remotely. Use the "Use TLS" and "TCP Socket" dropdowns in the web interface to switch between the two different modes(yes/no). It's also possible to toggle this option by calling the parameter management API in [VAPIX](https://www.axis.com/vapix-library/) and setting the `root.dockerdwrapperwithcompose.UseTLS` @@ -235,11 +236,20 @@ more information. Below is an example of how to remotely run a docker command on an Axis device running the Docker Compose ACAP in unsecured mode: +With TCP Socket: + ```sh DOCKER_INSECURE_PORT=2375 docker -H=:$DOCKER_INSECURE_PORT version ``` +Below is an example of how to remotely run a docker command on an Axis device running +the Docker Compose ACAP in unsecured mode with IPC socket: + +```sh +docker -H unix:///var/run/docker.sock version +``` + See [Client key and certificate](#client-key-and-certificate) for an example of how to remotely run docker commands on a device running a secured Docker Compose ACAP using TLS.