[docker] Use recommended CMD for getting docker GPG key#843
Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom Apr 1, 2019
wangxin:docker-key-pr
Merged
[docker] Use recommended CMD for getting docker GPG key#843qiluo-msft merged 1 commit intosonic-net:masterfrom wangxin:docker-key-pr
qiluo-msft merged 1 commit intosonic-net:masterfrom
wangxin:docker-key-pr
Conversation
If use apt_key module for getting docker official GPG key, there would be cert validation issue. Replace the apt_key module with 'curl' command recommended on docker official documentation site. Signed-off-by: Xin Wang <xinw@mellanox.bin>
liat-grozovik
approved these changes
Mar 28, 2019
Contributor
|
Why not use apt_key with validate_certs parameter? |
Collaborator
Author
|
@qiluo-msft I have tried apt_key with validate_certs set to |
Contributor
|
Set it to false? |
Collaborator
Author
|
@qiluo-msft Right, set it to false. Typo in my previous comment. Re-tested below code: Got below error: |
Contributor
|
So what is the error? |
Collaborator
Author
|
@qiluo-msft It looks like a bug of ansible: ansible/ansible#32964 |
qiluo-msft
approved these changes
Apr 1, 2019
yxieca
pushed a commit
that referenced
this pull request
Apr 1, 2019
If use apt_key module for getting docker official GPG key, there would be cert validation issue. Replace the apt_key module with 'curl' command recommended on docker official documentation site.
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
sairedis: *[recorder] Fix incorrect attribute enum value capability query (sonic-net#843) d86b051 *[syncd] Fix fdb flood queue size limit check (sonic-net#863) 3a2af76 *[vslib] implement query for SAI_DEBUG_COUNTER_TYPE enum values (sonic-net#842) 575dcb4 swss: *[portsorch] fix errors when moving port from one lag to anoth… a67d8af *[debugcounterorch] check if counter type is supported before querying… ( 04105a4 *Td2: Reclaim buffer from unused ports (sonic-net#1830) ac7f5cf *[Dynamic Buffer Calc][202012]Bug fix: Don't create lossless buffer pr… f54b7d0 Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Fixes # (issue)
If use apt_key module for getting docker official GPG key, there would
be cert validation issue.
This change is to replace the apt_key module with 'curl' command
recommended on docker official documentation site:
https://docs.docker.com/install/linux/docker-ce/ubuntu/
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -Type of change
Approach
How did you do it?
Replace apt_key module with recommended curl command.
How did you verify/test it?
Tested in Mellanox lab
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation