Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for securing using TLS #1

Merged
merged 1 commit into from
Mar 2, 2021
Merged

Add support for securing using TLS #1

merged 1 commit into from
Mar 2, 2021

Conversation

hakanardo
Copy link

Change-Id: Ief6305f88cab4d014b5534b1943f20b64342c2e0

Change-Id: Ief6305f88cab4d014b5534b1943f20b64342c2e0
@mikaelli-axis mikaelli-axis requested a review from jojju March 2, 2021 08:12
Comment on lines +26 to +33
if (!stat("/usr/local/packages/run_dockerd/server-key.pem", &statbuf)) {
syslog(LOG_INFO, "Starting dockerd in TLS mode.");
result = execv("/usr/local/packages/run_dockerd/dockerd",
(char*[]){"dockerd", "-H", "tcp://0.0.0.0:2376", "--tlsverify",
"--tlscacert=/usr/local/packages/run_dockerd/ca.pem",
"--tlscert=/usr/local/packages/run_dockerd/server-cert.pem",
"--tlskey=/usr/local/packages/run_dockerd/server-key.pem",
(char *) NULL});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this requires you to add these keys yourself to the run_dockerd folder - that's fine for now I think.

@jojju jojju merged commit 4e94ad9 into master Mar 2, 2021
@madelen-at-work madelen-at-work deleted the user/hakanad/tls branch February 22, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants