-
-
Save ryenus/bdce027b01aba44b8f454ea9c4037219 to your computer and use it in GitHub Desktop.
Revisions
-
res0nat0r revised this gist
Oct 14, 2022 . No changes.There are no files selected for viewing
-
res0nat0r revised this gist
Oct 14, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,9 @@ set +o allexport Stop Colima `colima stop` Set the environment variable in the Colima config. `colima start --edit` or edit `$HOME/.colima/default/colima.yaml` ``` env: -
res0nat0r revised this gist
Oct 14, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,6 +17,7 @@ set +o allexport ``` Stop Colima `colima stop` Set the environment variable in the Colima config. `colima start --edit` or edit `$HOME/.colima/default/colima.yaml` ``` -
res0nat0r revised this gist
Oct 14, 2022 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,9 +6,10 @@ Note: this assumes Colima v0.4.0 or newer. SSH into the VM `colima ssh` Edit docker init script `sudo vi /etc/init.d/docker`. Append with the following: ``` set -o allexport if [ -f /etc/environment ]; then source /etc/environment; fi -
res0nat0r revised this gist
Oct 14, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ https://github.com/abiosoft/colima/issues/294#issuecomment-1131440640 --- Note: this assumes Colima v0.4.0 or newer. -
res0nat0r revised this gist
Oct 14, 2022 . No changes.There are no files selected for viewing
-
res0nat0r created this gist
Oct 9, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ - https://github.com/abiosoft/colima/issues/294#issuecomment-1131440640 Note: this assumes Colima v0.4.0 or newer. SSH into the VM `colima ssh` Edit docker init script sudo vi /etc/init.d/docker. You can install other editors e.g. sudo apk install vim nano. Append with the following ``` set -o allexport if [ -f /etc/environment ]; then source /etc/environment; fi set +o allexport ``` Stop Colima `colima stop` Set the environment variable in the Colima config. `colima start --edit` or edit `$HOME/.colima/default/colima.yaml` ``` env: HTTP_PROXY: http://proxy.example.com:80 HTTPS_PROXY: http://proxy.example.com:443 NO_PROXY: localhost,127.0.0.1,docker-registry.example.com,.corp ``` Start Colima `colima start`