Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
46385e4e
Commit
46385e4e
authored
Aug 02, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a note about setting up an insecure registry
[ci skip]
parent
d707c91f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
doc/container_registry/troubleshooting.md
doc/container_registry/troubleshooting.md
+9
-4
No files found.
doc/container_registry/troubleshooting.md
View file @
46385e4e
...
@@ -55,12 +55,17 @@ wrong. However, since all communication between Docker clients and servers
...
@@ -55,12 +55,17 @@ wrong. However, since all communication between Docker clients and servers
are done over HTTPS, it's a bit difficult to decrypt the traffic quickly even
are done over HTTPS, it's a bit difficult to decrypt the traffic quickly even
if you know the private key. What can we do instead?
if you know the private key. What can we do instead?
One way would be to disable HTTPS by setting up an
[
insecure
registry
](
https://docs.docker.com/registry/insecure/
)
. This could introduce a
security hole and is only recommended for local testing. If you have a
production system and can't or don't want to do this, there is another way:
use mitmproxy, which stands for Man-in-the-Middle Proxy.
## mitmproxy
## mitmproxy
Enter
[
mitmproxy
](
https://mitmproxy.org/
)
. This tool allows you to place a
[
mitmproxy
](
https://mitmproxy.org/
)
allows you to place a proxy between your
proxy between your client and server to inspect all traffic. One wrinkle is
client and server to inspect all traffic. One wrinkle is that your system
that your system needs to trust the mitmproxy SSL certificates for this
needs to trust the mitmproxy SSL certificates for this to work.
to work.
The following installation instructions assume you are running Ubuntu:
The following installation instructions assume you are running Ubuntu:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment