Copy Local database table data into docker postgtesql database in Mac osx

I am working in rails application and i have deployed my application into docker.My local database having around 100 tables with data.I want to push those table data into my docker postgresql db.How to Copy Local database table data into docker postgtesql database?

Source: StackOverflow