There may be cases where you want to run your agent in your local docker and not in Windows as mentioned in section Debugging. For these cases you need to create a dedicated docker image which still contains your local start-up configuration. To do so temporarily comment the command
RUN rm ./config/appsettings.json
in your Dockerfile and build a new image. Do not forget to uncomment above mentioned command afterwards!
This new image can then be started using e.g.
docker run <image name>:<image version>
For further information about starting/stopping/deleting docker images see the official docker guides (https://docs.docker.com/get-started/overview/).