-
Keep pod running (alive)
command: ["ping", "-t", "localhost"]
-
Nuget restore fail
-
error:
nuget restore Src\GICG.sln -MSBuildPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" 15:40:52 Using Msbuild from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin'. 15:40:52 Error parsing solution file at xxx.sln: Exception has been thrown by the target of an invocation. The project file could not be loaded. Could not load file or assembly 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. xxx.sln
-
Solve: update NuGet.exe CLI tool from 4.4.3.5892 to 5.4.0.6315
-
Chocolatey error installing vim and made2010 in base image ‘aspnet:4.8-20200114-windowsservercore-ltsc2019’
-
Error:
15:15:37 Installing made2010...
15:15:42 ERROR: Running ["C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\made2010\2016.07.01\AccessDatabaseEngine_X64.exe" /quiet /norestart ] was not successful. Exit code was '-1073741502'. See log for possible error messages.
15:15:42 The install of made2010 was NOT successful.
------------------------
13:53:44 Extracting C:\Users\ContainerAdministrator\AppData\Local\Temp\vim\8.2.0374\vimInstall.zip to C:\tools...
13:53:45 ERROR: 7-Zip signalled an unknown error (code -1073741502) This is most likely an issue with the 'vim' package and not with Chocolatey itself. Please follow up with the package maintainer(s) directly.
-
Solve:
# Use base image with
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-20200211-windowsservercore-ltsc2019
rather than
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-20200114-windowsservercore-ltsc2019
-
Windows Server 2016 與 Windows 10 上的 Windows Container
-
透過 docker info 指令可以看到 docker 相關設定
-
* 預設 Docker 使用路徑
-
C:\ProgramData\dcoker
-
* 預設 image 儲存資料夾
-
windowsfilter
-
* 修改儲存路徑
-
1. 在 C:\ProgramData\Docker\config 新增 daemon.json
-
2. 修改 daemon.json 指定儲存路徑 {“graph”: “C:\\Docker”}
-
3. 重新啟動 docker 服務
-
* 使用 powershell 執行指令
-
restart-service *docker*
-
Grant permission to folder
# At version ltsc2019 - 10.0.17763 N/A Build 17763
## Work
RUN icacls 'C:\Memo\' /grant 'IIS_IUSRS:(OI)(CI)F' /T
## Not work
RUN icacls 'C:\Memo\' /grant "IIS_IUSRS":(OI)(CI)F /T
RUN icacls 'C:\Memo\' /grant "IIS_IUSRS:(OI)(CI)F" /T
-
Get current user
[Environment]::UserName
$env:username
whoami
-
Get all users
PS C:\inetpub\wwwroot> icacls .
. BUILTIN\IIS_IUSRS:(RX)
BUILTIN\IIS_IUSRS:(OI)(CI)(IO)(GR,GE)
NT SERVICE\TrustedInstaller:(I)(F)
NT SERVICE\TrustedInstaller:(I)(OI)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
BUILTIN\Administrators:(I)(F)
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
BUILTIN\Users:(I)(RX)
BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)
Successfully processed 1 files; Failed processing 0 files
-
Grant permission by icacls on OS version 10.0.17763 (ltsc2019)
-
error msg:
-
Invalid parameter “‘IIS_IUSRS:(F)'”
-
C:\inetpub\wwwroot” /grant IIS_IUSRS:f: The filename, directory name, or volume label syntax is incorrect.
-
solution:
RUN icacls C:\inetpub\wwwroot\ /grant "IIS_IUSRS:(F)"
-
Fail to grant permission to folder on OS version 10.0.17763; should use 10.0.18362
icacls '\inetpub\wwwroot\' /grant 'IIS_IUSRS:(F)'
-
Failed at OS:
PS C:\> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft
OS Version: 10.0.17763 N/A Build 17763
-
Passed at OS:
PS C:\> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft
OS Version: 10.0.18362 N/A Build 18362
-
Copy file to image
docker cp index.html datatest1:c:\inetpub\wwwroot
-
Restart IIS
iisreset
# Need stop it first
net start/stop w3svc
-
Error pulling image from private repo, after new namespace created
Ask for setting
-
Error response from daemon: removal of container xxx is already in progress
#for Windows:
del D:\ProgramData\docker\containers\{CONTAINER ID}
del D:\ProgramData\docker\windowsfilter\{CONTAINER ID}
#Then restart the Docker Desktop
-
Grant permission to IIS user
-
Error:
"InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Access to the path 'C:\\inetpub\\wwwroot\\App_Data\\BodyPart_481b6424-f9a5-4608-894d-406145a48445' is denied.","ExceptionType":"System.UnauthorizedAccessException"
-
Solve:
--- Dockerfile ---
RUN icacls 'C:\inetpub\wwwroot\XXX' /grant 'IIS_IUSRS:(F)'
-
Install docker on Windows Server 2019 – native installer
# Run PowerShell As Admin!!! (important)
Install-WindowsFeature containers -Restart
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider
Start-Service Docker
# Ref: https://4sysops.com/archives/install-docker-on-windows-server-2019/
# Ref: https://docs.docker.com/ee/docker-ee/windows/docker-ee/
-
Install docker on Windows Server 2019 – manual – unsuccessful
# Path refer to the error message
# Version refer the latest version
cd C:\Users\Administrator\AppData\Local\Temp\DockerMsftProvider
Start-BitsTransfer -Source https://dockermsft.blob.core.windows.net/dockercontainer/docker-19-03-1.zip -Destination docker-19-03-1.zip
Get-FileHash -Path docker-19-03-1.zip -Algorithm SHA256
Install-Package -Name docker -ProviderName DockerMsftProvider -Verbose
Restart-Computer -Force
-
Uninstall docker on Windows Server 2019 – native installer
Uninstall-Package -Name docker -ProviderName DockerMsftProvider
Uninstall-Module -Name DockerMsftProvider
-
Install docker preview (support linux container) in Windows Server 2019 ref
# Enable Nested HyperV and install HyperV first
Uninstall-Package -Name docker -ProviderName DockerMSFTProvider
Install-Module DockerProvider
Install-Package Docker -ProviderName DockerProvider -RequiredVersion preview
-
Switch docker OS
# Get current container OS "1: linux; null: Windows"
[Environment]::GetEnvironmentVariable("LCOW_SUPPORTED")
# Switch to linux container
[Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", "1", "Machine")
Restart-Service docker
# Switch to Windows container
[Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", $null, "Machine")
Restart-Service docker
-
Size of images
Oct '18
microsoft/windowsservercore latest f8dc15f55717 12 days ago 10.9GB
microsoft/nanoserver latest 4c872414bf9d 12 days ago 1.17GB
microsoft/aspnet latest 02dfa1e1baeb 5 weeks ago 13.6GB
nanoserver/iis latest 7eac2eab1a5c 4 months ago 1.29GB
-
Quick start running a windows container app
----- Dockerfile -----
# The `FROM` instruction specifies the base image. You are
# extending the `microsoft/aspnet` image.
FROM microsoft/aspnet
# The final instruction copies the site you published earlier into the container.
COPY ./bin/Release/PublishOutput/ /inetpub/wwwroot
EXPOSE 80
----------------------
docker build -t mvcrandomanswers .
docker run -d --rm -p 8000:80 --name randomanswers mvcrandomanswers
docker tag mvcrandomanswers xx.registry/xx_project/mvcrandomanswers:latest
docker push xx.registry/xx_project/mvcrandomanswers:latest
Buy Generic Propecia United States
5 day prednisone pack
What Is Ic Cephalexin
online pharmacy cialis viagara
what is gabapentin
Viagra Generico 50
Levitra Prezzo On Line
Amoxicillin Dosage For An Adult
hydroxychloroquine over the counter
Levitra 10 Maison De La Gendarmerie
gabapentin medication
best cialis online
Le Viagra Medecine
cuba cialis
gabapentin and tramadol
Propecia Cinfa
levitra rapid heart rate
Order Priligy Dapoxetine
ciproflaxin
dymnCody 60mg priligy
Baclofene Drogue Coarty https://alevitrasp.com
Qihiyu Possible Complications Both leukemia itself and the treatment can lead to many problems such as bleeding weight loss and infections. plaquenil weight loss reviews
tadalafil (generic cialis) tadalafil reviews
www tadalafil 20mg tadalafil natural substitute
cialis tablets tadalafil tadalafil pulmonary hypertension
stromectol ivermectin buy ivermectin
ivermectin cost in usa purchase ivermectin
how long does it take for sildenafil to kick in sildenafil sublingual
stromectol liquid buy ivermectin
elevex tadalafil 20mg tadalafil drug test
cost of ivermectin cream stromectol buy uk
ivermectin oral 0 8 ivermectin brand
ivermectin cream cost ivermectin cost
ivermectin generic cream ivermectin where to buy
ivermectin pills human ivermectin cream cost
ivermectin 9 mg ivermectin 6 mg tablets
buy ivermectin uk stromectol price us
stromectol for head lice stromectol nz
ivermectin online where to buy ivermectin
ivermectin uk buy ivermectin malaria
stromectol order online stromectol pills
cheap generic viagra order viagra
stromectol tab ivermectin pill cost
ivermectin 0.1 ivermectin 3mg
cost of viagra generic viagra rx
cialis without prescription generic cialis online
generic sildenafil price sildenafil citrate reviews
tadalafil vardenafil ambrisentan and tadalafil combination brands
ed drugs online canada no rx needed pharmacy
tadalafil troche vs cialis tadalafil 20 mg buy online
sildenafil citrate 24 hours pharmacy store
sildenafil buy sildenafil 1mg
online pharmacy cialis buy generic cialiss
what is the difference between viagra cialis and levitra levitra medicine
mexico online pharmacy reviews big pharmacy online
Cytoxan cvs pharmacy 24 hour store
erectivin vi non prescription tadalafil reviews tadalafil discounts
female viagra australia for sale sildenafil 58
ivermectin humans does ivermectin kill fleas
cheap drugs canada vagifem canada pharmacy
ivermectin treatment ivermectin side effects in dogs
cheap cialis online purchasing cialis online
online discount pharmacy walgreens specialty pharmacy
health risks viagra cialis levitra viagra cialis levitra trial pack
levitra 10 mg reviews viagra cialis kamagra levitra
viagra tablet sildenafil buy online without a prescription
canada drugs winnipeg canadian pharmacy 24h com
Viagra Super Active pharmacy rx one coupon codes
order prescriptions online without doctor online canada pharmacy
canadian pharmacy online no prescription needed canadian pharmacies not requiring prescription
Precose street prices prescription drugs
on line pharmacy vipps pharmacy in canada
Ponstel hq pharmacy online 365
provigil 100mg pill
purchase modafinil without prescription provigil 100mg without prescription
order modafinil 100mg
order generic provigil
meijer pharmacy online bachelor in pharmacy in canada
modafinil 100mg cheap buy modafinil 200mg online cheap
brand provigil buy provigil for sale
buy provigil 200mg for sale modafinil 100mg without prescription
order modafinil sale modafinil us
order generic provigil 200mg
how to apply erythromycin ophthalmic ointment erythromycin for fish tanks
https://erythromycinn.com/# erythromycin 500 mg price
buy modafinil sale order generic provigil modafinil drug
modafinil generic provigil 100mg drug buy modafinil
erythromycin side effects how to use erythromycin ophthalmic ointment
ivermectin tablets stromectol ivermectin 3 mg
https://azithromycinfest.com/ zithromax dosage
fougera erythromycin ophthalmic ointment side effects of erythromycin
canada medications
discount pharmacies
canadian mail order pharmacies
canadian drug pharmacy canadian drugs online
ed meds online without doctor prescription online canadian pharmacy
canadian pharmacies without an rx
cvs prescription prices without insurance prescription without a doctor’s prescription
clindamycin vs erythromycin
https://drwithoutdoctorprescription.com/# prescription drugs without doctor approval
buy cheap viagra cialis https://lviagral.com
hydroxychloroquine buy online plaquenil over the counter canada
where to buy viagra best over the counter viagra
sildenafil viagra from india
sildenafil tablets
generic viagra
sildenafil cost
viagra from canada viagra coupons 75% off
sildenafil best place to buy viagra online
http://ivermectinetc.com/ stromectol for humans
best place to buy viagra online sildenafil 20 mg
https://sildenafilwtf.com where to buy viagra over the counter
buying viagra online best over the counter viagra
sildenafil viagra online usa
hydroxychloroquine pills
viagra cost order viagra online
cost of prednisone prednisone brand name india
buy doxycycline online uk doxycycline online paypal
prednisone 2.5 mg where can i buy prednisone without a prescription
https://zithromaxforsale.shop/# zithromax purchase online
cost of plaquenil 200 mg
amoxicillin buy online canada amoxicillin 500mg capsule
ventolin hfa 90 mcg inhaler dosage https://ventolin.beauty
https://buynolvadex.store/# tamoxifen bone density
https://bluethshop.com do viagra pills expire
low dose tamoxifen tamoxifen citrate pct
электроштабелеры
https://elektroshtabeler-kupit.ru/
tamoxifen breast cancer tamoxifen rash pictures
https://buynolvadex.store/# does tamoxifen cause menopause
online pharmacies without an rx https://medsmir.com
lipitor 40 mg price india generic lipitor drugs
tadalafil online in india tadalafil cheapest price
https://buylipitor.store/# lipitor 80 mg
https://withoutprescription.store/# prescription drugs online without
2000 mg neurontin buy cheap neurontin online
https://diflucan.icu/# diflucan cap 150 mg
natural remedies for ed best ed pills online
best male ed pills ed meds online without doctor prescription
штабелер электрический самоходный
https://shtabeler-elektricheskiy-samokhodnyy.ru
https://erectionpills.best/# non prescription ed drugs
https://furosemide.directory lasix medication
2000 mg neurontin neurontin 100mg tablet
https://cipro.best/# buy cipro cheap
ed medications cheap erectile dysfunction
https://gabapentin.icu/# neurontin 300 mg price in india
ed pills for sale impotence pills
sildenafil 100mg https://sildenafiluis.com
prescription drugs without doctor approval canadian online drugstore
https://diflucan.icu/# diflucan otc uk
erection pills online the best ed pills
https://diflucan.icu/# diflucan 150 mg buy online
buy doxycycline doxycycline no prescription best prices
https://clomidonline.icu/# clomid coupon
buy stromectol order stromectol over the counter
https://edpills.best/# buy ed pills online