Last active
November 17, 2018 12:43
-
-
Save rabmarjan/a35ae40429f1195332aaf1069332b8a1 to your computer and use it in GitHub Desktop.
user.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it postgres10 bash | |
ln -s /tmp/.s.PGSQL.5432 /var/run/postgresql/.s.PGSQL.5432 | |
su - postgres | |
psql | |
create user postgres password 'postgres'; | |
alter user postgres with superuser; | |
create database postgres WITH owner=postgres encoding='UTF8'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment