diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-02-21 12:19:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 12:19:42 -0500 |
commit | ad47fa2d6755c7edc0cdb8a5e9fde794ed615739 (patch) | |
tree | 3aae0dd0ea8917f144f802363d650d2632121719 /troubleshooting.md | |
parent | cd00a99c66b7be750655f396269499a78cdc4e2c (diff) | |
parent | f150f292116b427a129349769aec30cdea93ea87 (diff) | |
download | podman-ad47fa2d6755c7edc0cdb8a5e9fde794ed615739.tar.gz podman-ad47fa2d6755c7edc0cdb8a5e9fde794ed615739.tar.bz2 podman-ad47fa2d6755c7edc0cdb8a5e9fde794ed615739.zip |
Merge pull request #13305 from nalind/troubleshooting
[CI:DOCS] troubleshooting.md: tweak subuid paragraph, encryption
Diffstat (limited to 'troubleshooting.md')
-rw-r--r-- | troubleshooting.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/troubleshooting.md b/troubleshooting.md index 426c4b5ce..dedcf6bb9 100644 --- a/troubleshooting.md +++ b/troubleshooting.md @@ -87,7 +87,7 @@ error pulling image "fedora": unable to pull fedora: error getting default regis ### 4) http: server gave HTTP response to HTTPS client When doing a Podman command such as `build`, `commit`, `pull`, or `push` to a registry, -tls verification is turned on by default. If authentication is not used with +TLS verification is turned on by default. If encryption is not used with those commands, this error can occur. #### Symptom @@ -100,13 +100,13 @@ Get https://localhost:5000/v2/: http: server gave HTTP response to HTTPS client #### Solution -By default tls verification is turned on when communicating to registries from -Podman. If the registry does not require authentication the Podman commands -such as `build`, `commit`, `pull` and `push` will fail unless tls verification is turned +By default TLS verification is turned on when communicating to registries from +Podman. If the registry does not require encryption the Podman commands +such as `build`, `commit`, `pull` and `push` will fail unless TLS verification is turned off using the `--tls-verify` option. **NOTE:** It is not at all recommended to -communicate with a registry and not use tls verification. +communicate with a registry and not use TLS verification. - * Turn off tls verification by passing false to the tls-verification option. + * Turn off TLS verification by passing false to the tls-verify option. * I.e. `podman push --tls-verify=false alpine docker://localhost:5000/myalpine:latest` --- @@ -259,7 +259,8 @@ You should ensure that each user has a unique range of uids, because overlapping would potentially allow one user to attack another user. In addition, make sure that the range of uids you allocate can cover all uids that the container requires. For example, if the container has a user with uid 10000, ensure you -have at least 10001 subuids. +have at least 10001 subuids, and if the container needs to be run as a user with +uid 1000000, ensure you have at least 1000001 subuids. You could also use the usermod program to assign UIDs to a user. |