You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "Before using the cluster for integration and E2E tests, please run \"${reset}registry.sh${grey}\" (Linux systems) which will configure podman or docker to communicate with the standalone container registry without TLS."
444
444
echo -e ""
445
-
echo -e "For other operating systems, or to do this manually, edit the docker daemon config (/etc/docker/daemon.json on linux and ~/.docker/daemon.json on OSX), add:"
445
+
echo -e "For other operating systems, or to do this manually, edit the docker daemon config:"
echo -e "${yellow}Detected untested architecture ${arch}.${reset}\n This script is only tested with amd64, but you can use the ARCH env variable to specify an architecture to be interpolated in download links."
echo -e "${yellow}Detected untested architecture ${arch}.${reset}\n This script is tested with amd64 and arm64, but you can use the ARCH env variable to specify an architecture to be interpolated in download links."
Copy file name to clipboardExpand all lines: hack/registry.sh
+46-9Lines changed: 46 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
# limitations under the License.
14
14
15
15
#
16
-
# - Registers registry with Docker as trusted (linux only)
16
+
# - Registers registry with Docker as trusted (Linux and macOS)
17
17
#
18
18
19
19
set -o errexit
@@ -42,11 +42,16 @@ warn_nix() {
42
42
if [[ -x$(command -v "nix")||-x$(command -v "nixos-rebuild") ]];then
43
43
if [ "$CONTAINER_ENGINE"=="docker" ];then
44
44
echo"${yellow}Warning: Nix detected${reset}"
45
-
echo"If Docker was configured using nix, this command will fail to find daemon.json. please configure the insecure registry by modifying your nix config:"
echo"If Docker Desktop was installed via Nix on macOS, you may need to manually configure the insecure registry."
47
+
echo"Please confirm \"localhost:50000\" is specified as an insecure registry in the docker config file."
48
+
else
49
+
echo"If Docker was configured using nix, this command will fail to find daemon.json. please configure the insecure registry by modifying your nix config:"
echo"If podman was configured via Nix, this command will likely fail. At time of this writing, podman configured via the nix option 'virtualisation.podman' does not have an option for configuring insecure registries."
0 commit comments