Docker

| 2 min read

2021-06-27

Docker

home/Professional

run

docker run -d \
  -it \
  --name myalpine \
  --mount type=bind,source="$(pwd)"/vol1,target=/user/vol1 \
  --env HTTP_PROXY="http://147.233.250.8:80" \
  -p 80:443 \
  alpine:latest

exec

docker exec -it myalpine bin/sh

Network connectivity

go to Hiper-v, enter to Action >> Virtual Switch Manager.
then define the WSL as below:
!Pasted image 20211214182227.png

Definition of some Ubuntu including the GUI

docker run --name myubuntu -p 8080:80 -p 5900:5900 dorowu/ubuntu-desktop-lxde-vnc:bionic

then you can run the http://localhost:8080

build

docker build -t obsidian_11ty .

cp

(for files in directories that is not mounted)
run it from Poweshell window from /MySite:

docker cp .\.eleventyignore myserver:\app\.eleventyignore

CICD - Export backend definition

My Images

NAME TAG IMAGE ID CREATED SIZE
apache/superset IN USE latest 99912662bdbb 9 days ago 1.23 GB RUN
cicddashboard IN USE 1.0 c34455e82408 3 months ago 67.64 MB RUN
cicdexpor-test IN USE latest 71bf48e51291 13 days ago 1.38 GB RUN
cicdexport IN USE 1.1 b2ae385a9fcc 13 days ago 1.38 GB RUN
cicdexportest latest edcc6092ace4 13 days ago 1.38 GB RUN
dorowu/ubuntu-desktop-lxde-vnc IN USE bionic 16ac25e8daa0 about 3 years ago 1.06 GB RUN
flask latest 6255012a0c48 3 months ago 1.01 GB RUN
frolvlad/alpine-glibc latest 6c32ebed195c 4 months ago 17.4 MB RUN
gerasim13/flask-admin latest e436d1ce75c3 almost 7 years ago 754.11 MB RUN
jenkins/jenkins IN USE lts-jdk11 2a4bbe50c40b 10 months ago 440.7 MB RUN
jupyter/minimal-notebook IN USE latest 9e588af265fb 9 months ago 1.38 GB RUN
nginx 1.17 9beeba249f3e over 2 years ago 126.77 MB RUN
node alpine3.12 9c73a3e8baaf 9 months ago 169.87 MB RUN
obsidian_11ty IN USE latest 7cba7f24c712 3 minutes ago 910.5 MB RUN
oracle/database 21.3.0-xe 34923d5345f5 10 days ago 6.53 GB RUN
oraclelinux 7-slim 6a34bf539669 about 1 month ago 132.72 MB RUN
postgres latest 07e2ee723e2d 9 months ago 374.02 MB RUN
python 3.10-alpine 27edb73bd1fc 4 months ago 47.63 MB RUN
python 3.8-alpine 926e859df334 4 months ago 46.79 MB RUN
redis IN USE 6.2-alpine 57c580553a4d 4 months ago 25.51 MB RUN
ruby 3.1.1-alpine3.15 9d6c19e9b063 7 months ago 71.57 MB RUN
swaggerapi/swagger-editor latest b23f8f6da7f4 about 1 month ago 61.32 MB RUN
tomcat 9.0.36-jdk11-openjdk-slim b2a3c85aebb3 over 2 years ago 421.64 MB RUN
ubuntu 20.04 ba6acccedd29 12 months ago 72.78 MB RUN
ubuntu 18.04 5a214d77f5d7 12 months ago 63.14 MB RUN
ubuntu 16.04 b6f507652425 about 1 year ago 134.82 MB RUN
wso2/wso2am IN USE 4.1.0 edb1299179af 6 months ago 1.08 GB RUN
wso2/wso2am IN USE latest edb1299179af 6 months ago 1.08 GB RUN
yakikim/cicdyaki-dashboard IN USE 1.0 c34455e82408 3 months ago 67.64 MB RUN
yakikim/jenkins IN USE lts-jdk11 2a4bbe50c40b 10 months ago 440.7 MB RUN
yakikim/obsidian_11ty 1.1 6131088fb4ec 4 months ago 891.32 MB RUN
yakikim/ubuntu-desktop-lxde-vnc IN USE bionic 16ac25e8daa0 about 3 years ago 1.06 GB RUN