![]() ![]() This will download the latest image of Ubuntu from Docker. ![]() From the Windows command prompt run: > docker pull ubuntu We’ll get started by pulling down an image of the Ubuntu OS and running a few commands. See Install Docker Desktop on Windows for download information, system requirements, and installation instructions. You will need to download the Docker Desktop Client for Windows and create a docker account if you haven’t already. Set-up your first Linux docker containerįirst, we’ll set-up a Linux docker container on Windows. This workflow leverages Visual Studio’s native support for CMake, but the same instructions can be used to build a MSBuild-based Linux project in Visual Studio. If you’re interested in learning more about Docker as a tool to configure reproducible build environments, check out our post on using multi-stage containers for C++ development. This post focuses on creating your first docker container and building from Visual Studio. In this blog post we’re going to use Visual Studio’s native CMake support to build a simple Linux application in a Linux docker container over SSH. This is especially useful for C++ cross-platform developers because you can target a container that runs a different operating system than the one on your development machine. The virtualized OS, file system, environment settings, libraries, and other dependencies are all encapsulated and shipped as one image that can be shared between developers and machines. Docker containers provide a consistent development environment for building, testing, and deployment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |