How to know my filebeat is collecting the running container logs or not

You need to specify the path to the config file using -c. Also, please format your config using </>, so indentation problems become visible.