brew install lima
2022-02-07: nerdctl is not supported for MacOS. Cannot install via brew install nerdctl
Set alias in .bashrc or .zshrc
alias docker="lima nerdctl"
brew install lima
2022-02-07: nerdctl is not supported for MacOS. Cannot install via brew install nerdctl
Set alias in .bashrc or .zshrc
alias docker="lima nerdctl"
| /* | |
| Git env vars you might need in jenkins | |
| Jenkins ENV Reference: | |
| env.GIT_COMMIT: the commit sha of the current build | |
| env.BRANCH_NAME: the branch name OR tag name of the current build, when it exists | |
| env.GIT_BRANCH: same as BRANCH_NAME | |
| env.TAG_NAME: the tag name of the current build, when it exists | |
| */ | |
| // stash and unstash |
| server { | |
| listen 80; | |
| server_name www.example.com example.com; | |
| # Redirect all traffic to SSL | |
| rewrite ^ https://$server_name$request_uri? permanent; | |
| } | |
| server { | |
| listen 443 ssl default_server; |
Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.
Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).
It should look something like the content below; call it my-site.conf or something like that.
Tools
Presentations