Docker Community Forums

Share and learn in the Docker community.

Docker Implement for exist code

Hello guys, I am kind of new to Docker. I have a web application project in MVC 5, Dotnet, and WCF services. I want to implement docker. How do I use docker with existing code?

I don’t want to be sound rude but you have to learn the basics to be able to ask questions. “How do I use docker with existing code” basically means “I don’t read books and documentations but I want to learn everything from you”. You probably didn’t mean to be sound like this so I give some keyword until you have a more specific question.

You need to “bind mount” the code or use “docker build” to copy the code to your new image. And often you need to change the code because not everything can easily run inside the container without modification. I can’t tell you what those modifications are because it depends on the actual application.

1 Like