---
title: "POST /outposts/service_connections/docker/"
method: POST
path: "/outposts/service_connections/docker/"
tags: ["outposts"]
---

# POST /outposts/service_connections/docker/

`POST /outposts/service_connections/docker/`

DockerServiceConnection Viewset

## Request body

- DockerServiceConnectionRequest — DockerServiceConnection Serializer
  - `name` string, required
  - `local` boolean — If enabled, use the local connection. Required Docker socket/Kubernetes Integration
  - `url` string, required — Can be in the format of 'unix://<path>' when connecting to a local docker daemon, or 'https://<hostname>:2376' when connecting to a remote system.
  - `tls_verification` string, uuid, nullable — CA which the endpoint's Certificate is verified against. Can be left empty for no validation.
  - `tls_authentication` string, uuid, nullable — Certificate/Key used for authentication. Can be left empty for no authentication.

## Response `201`

- DockerServiceConnection — DockerServiceConnection Serializer
  - `pk` string, uuid, required
  - `name` string, required
  - `local` boolean — If enabled, use the local connection. Required Docker socket/Kubernetes Integration
  - `component` string, required
  - `verbose_name` string, required — Return object's verbose_name
  - `verbose_name_plural` string, required — Return object's plural verbose_name
  - `meta_model_name` string, required — Return internal model name
  - `url` string, required — Can be in the format of 'unix://<path>' when connecting to a local docker daemon, or 'https://<hostname>:2376' when connecting to a remote system.
  - `tls_verification` string, uuid, nullable — CA which the endpoint's Certificate is verified against. Can be left empty for no validation.
  - `tls_authentication` string, uuid, nullable — Certificate/Key used for authentication. Can be left empty for no authentication.

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
