To run this image as a standalone service, follow the steps below:
- Pull the image from docker hub
- Create a folder with the name pgadmin_data (it will be mounted to the container for data storage).
- Run the command sudo chown -R 5050:5050 pgadmin_data on the folder created in step 2.
- Run the container: docker -p 5050:80 -v pgadmin_data:/var/lib/pgadmin shoaibb/pgadmin4:5.6
- Open your browser and enter the address: http://localhost:5050
- Use the default username: [email protected] and password: pass_admin