I used the same steps for PostgreSQL container installation. I can import data using either command line or pgamin web browser below.
docker run –name postgres -e POSTGRES_PASSWORD=Test123 -d postgres -p 5432:5432
psql -U postgres -h localhost -d store < store.sql
psql -U postgres -h localhost -d store < world.sql