![]() Start the Docker service: sudo service docker start Open the command line (Bash) for a Linux distribution that you've already installed from the Microsoft Store (Ubuntu in this example). You must have Docker Desktop for Windows installed with the WSL 2 engine enabled and integration checked See the Docker Desktop license agreement for updates on the terms of use.You must have WSL enabled with a Linux distribution installed running WSL 2.In this example, we'll use Docker inside of a WSL distribution to obtain the tar file for CentOS. The example below will show this process using the CentOS container. Find a Linux distribution container and export an instance as a tar file.You can find an example for Alpine in the "Mini Root Filesystem" section of the Alpine Linux downloads site. You can obtain a tar file in a variety of ways, two of which include: Obtain a tar file for the distributionįirst you'll need to obtain a tar file that contains all the Linux binaries for the distribution. This process can be applied to import any Linux distribution. This article shows how to import the Linux distribution, CentOS, for use with WSL by obtaining its tar file using a Docker container. You can use any Linux distribution inside of the Windows Subsystem for Linux (WSL), even if it is not available in the Microsoft Store, by importing it with a tar file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |