If you install SQL Server Integration Service Project extension in Visual Studio 2019 and get this error 0x80131500, you can check the log in folder %TEMP%\SsdtisSetup. From the log detail of files in this folder, you can know more about the error detail.
Sunday, June 20, 2021
Monday, June 14, 2021
Container with WSL
- Install Docker with WSL
First you install WSL 2. Then you download Docker Desktop from https://www.docker.com/products/docker-desktop and install it. After that, you have to log out and log in again to run Docker Desktop. Then, right click on the Docker icon on the system tray and select Setting. Enable the option Use the WSL 2 based engine to configure Docker run under WSL 2 rather than a Virtual Machine.
For the tab Resources, we can configure which Linux distro to access Docker from.
- Setup Kubernetes
In the Docker Desktop settings, we can enable the Kubernetes option to setup the Kubernetes cluster.
Sunday, June 13, 2021
WSL Tips
- Access Linux files from Windows
- Access Windows files from Linux
WSL automatically mount the Windows drive as /mnt. To access C drive, we can use /mnt/c
- Export/Import a Distro
Export: wsl --export ...
Import: wsl --import ...
- Create a custom Distro from a docker container
- Firstly, we pull a container from Docker hub
- Second step is to start the container with docker run command.
- Third step: we add user for WSL
useradd -m YOURUSERNAME
passwd YOURUSERNAME
- Then we add /etc/wsl.conf file to let WSL know the user we created
echo -e "[user] \ndefault=YOURUSERNAME" > /etc/wsl.conf
- If we want to add more configuration, we can add at this step.
- After finish adding the configurations, we can export the Docker container to the Tar file using docker export command.
- Then we use wsl --import command to import the Tar file. And now we have a new Distro to run.
- Create a custom Distro from a docker container using Docker file
For the manual steps above, we can build a Docker file to create a custom Distro.
Thursday, June 10, 2021
Quote
“Take the first step in faith. You don't have to see the whole staircase, just take the first step.”
― Martin Luther King Jr.
Subscribe to:
Posts (Atom)
Permission error when running "Power Platform Backup Environment" in Azure DevOps
When we run action "Power Platform Backup Environment" in Azure Devops with an App Registration account, we get the error "P...
-
Today, I had this error on my Dynamics CRM server and tried solution in this link (http://ms-crm-2011-beta.blogspot.com/2011/09/could-not-lo...
-
When we run action "Power Platform Backup Environment" in Azure Devops with an App Registration account, we get the error "P...
-
To correct the ESLint error 'i.CLIEngine is not a constructor' in Visual Studio 2019 with ESLint version 8.57.0, you can follow thes...