Skip to content

Commit

Permalink
Update Readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
deepikas20 committed Mar 18, 2024
1 parent e61911d commit 3d16a12
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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=<device ip>:$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.
Expand Down

0 comments on commit 3d16a12

Please sign in to comment.