My development environment is on a Windows machine but my software / application runs on Linux. How do I create, deploy, and run Docker containers?
I tried the following processing and could not get my containers created in Windows to run on Linux.
- Developed a Python program on a Windows machine
- Creating a Docker container on Windows
- Saved the Docker container to the Docker website
- Pulled the container from the Docker website to a Linux machine
I had to change directions and do the following so I could develop on Windows and run my Docker containers on Linux:
- Developed a Python program on a Windows machine
- Saved the Python program to GIT
- Download/clone the program from GIT to the Linux machine
- Build the container locally on Linux
- Then run the container
The second process worked. Hopefully this will help someone else in the future.
1 thought on “Docker container built in Windows then deployed to a Linux environment”