$ sudo apt-get update
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
If you would like to use Docker as a non-root user, you should now consider adding your user to the "docker" group with something like:
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.Azure.EventHubs; | |
using Microsoft.Azure.EventHubs.Processor; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Extensions.Logging; |
If you want to access the Kubernetes dashboard publicly, open the port 10443
in your VM.
microk8s.enable dashboard
token=$(microk8s.kubectl -n kube-system get secret | grep default-token | cut -d " " -f1) microk8s.kubectl -n kube-system describe secret $token
kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 --address 0.0.0.0
Brave
browser with the --ignore-certificate-errors
flag:
"C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe" --ignore-certificate-errors#!/bin/bash | |
sudo snap install microk8s --classic |
#!/bin/bash | |
# Source: https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/ | |
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo | |
sudo dnf list docker-ce | |
sudo dnf install docker-ce --nobest -y | |
sudo systemctl start docker | |
sudo systemctl enable docker | |
sudo docker --version |
#!/bin/bash | |
# Install Docker | |
sudo apt-get update | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
sudo usermod -aG docker $1 |
#!/bin/bash | |
# Install Docker | |
sudo apt-get update | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
sudo usermod -aG docker $1 | |
# Install Microk8s | |
sudo snap install microk8s --classic --channel=1.14/stable |
FROM golang:1.15.2 | |
ENV http_proxy <CORPORATE_PROXY_URL_WITH_PORT> | |
ENV https_proxy <CORPORATE_PROXY_URL_WITH_PORT> | |
ENV HTTP_PROXY <CORPORATE_PROXY_URL_WITH_PORT> | |
ENV HTTPS_PROXY <CORPORATE_PROXY_URL_WITH_PORT> | |
RUN go get -u github.com/jstemmer/go-junit-report | |
RUN wget https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz && \ |
# This Dockerfile has been generated automatically from the official Go template. | |
FROM {{or .BuildStage.From "golang:1.19.4-alpine3.16"}} AS builder | |
{{- if .BuildStage.Envs }} | |
{{- range $value := .BuildStage.Envs}} | |
ENV {{$value}} | |
{{- end}} | |
{{- end }} | |
{{- if .BuildStage.Deps }} | |
# Install the following dependencies | |
RUN apk update && apk add \ |