Le Site Web 
  
How to run a insecure-registry

 
Post new topic   Reply to topic    LicUqam Forum Index // LiCUQAM // PUBS
Previous topic :: Next topic  
Author Message
barryflash2727
Joueur Étoile


Joined: 06 Aug 2018
Posts: 1

PostPosted: Mon 10 Dec - 06:13 (2018)    Post subject: How to run a insecure-registry Reply with quote
here was a discussion 232 about how to set up an insecure registry with docker for mac. It was closed before I could comment on how to do it correctly.

This seems like the correct way to set this up please correct me if I’m wrong.

First I created a new file with the output of the current daemon.json file

$ pinata get daemon > myconfig.json
Then I added another rule to the json

{"storage-driver":"aufs","debug":true,"insecure-registries":["your.insecure.registry"]}
Finally I set the new config

$ pinata set daemon @myconfig.json
The daemon restarted and I was able to pull from my registry.
_________________


Back to top
Publicité






PostPosted: Mon 10 Dec - 06:13 (2018)    Post subject: Publicité
PublicitéSupprimer les publicités ?
Back to top
Post new topic   Reply to topic    LicUqam Forum Index // LiCUQAM // PUBS All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  

Index | Create a forum | Free support forum | Free forums directory | Report a violation | Cookies | Charte | Conditions générales d'utilisation
alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden
Powered by phpBB © 2001, 2020 phpBB Group