locked
How to run dockerfile created by Visual Studio 2019 manually ? RRS feed

  • Question

  • User-1014314199 posted

    I have  an application that contain to projects.
    One is web site and the second is web api.
    I have docerfiles created by Visual Studio 2019 for both projects.
    When i run form Visual Studio 2019 all run perfect.

    I need to send the code and the dockerfiles to someone to test the application.
    He does not necessary have Visual Studio.
    What the docker commands should he run ?


    Friday, November 8, 2019 11:06 AM

Answers

  • User-474980206 posted

    The user will need docker installed. You are building docker images. You will save the image to a tar file with the save command, the user will install the image from the air file with the load command. the user then create a containers with the run command. You should document the ports the containers need. See the docker docs

    https://www.docker.com/get-started

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 8, 2019 3:13 PM