How To view File inside a container on it's IP l

Hello, I have one confusion about docker, normally when I develop website, I can access files under IP:/images/one.png for example but with docker, this no longer works how can I do that?

Put the data in question in a path on the host and map it as a volume inside the container.
Then access the path on the host, like you did before.