-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diff start scripts for Notary and signy
- Loading branch information
1 parent
8bc90a4
commit efcd3cf
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ docker run -d \ | |
-e REGISTRY_HTTP_TLS_KEY=/certs/notary-server.key \ | ||
registry:2 | ||
|
||
docker ps | ||
docker ps |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
NOTARY=$GOPATH/src/github.com/theupdateframework/notary | ||
|
||
(cd $NOTARY; docker-compose up -d) | ||
|
||
# NOTE: Notary (see scripts/notary-start.sh) seems to require TLS for both the | ||
# Registry and itself. However, that setup breaks cnab-to-oci (required for | ||
# signy), most likely because we use a self-signed root here. Until we fix | ||
# this, it is easiest to use two different scripts to initalize the Registry | ||
# for Notary and signy. | ||
docker run -d \ | ||
--name registry \ | ||
-p 5000:5000 \ | ||
-e REGISTRY_HTTP_ADDR=0.0.0.0:5000 \ | ||
registry:2 | ||
|
||
docker ps |