How to connect docker hub?

I make docker container which contains wildfly. wildfly execution is successful. But the problem is i can’t modify the default configuration of wildfly. I try to modify standalone.xml and put jar files to /opt/jboss/wildfly. I try to connect to wildfly of docker container with putty and winscp, but it failed. Your advice will be deeply appreciated! Thnaks