marcelo-ochoa / pgadmin4-docker-extension Goto Github PK
View Code? Open in Web Editor NEWPGAdmin4 extension for Docker Desktop
License: Apache License 2.0
PGAdmin4 extension for Docker Desktop
License: Apache License 2.0
Is it possible to connect to Postgres running on localhost? In actual fact, I am running Postgres in Kubernetes Docker Desktop and have port forwarding so if there is a better way to connect within the Docker network that would also be fine.
Thanks,
Si
Hello :-)
It seems impossible to save any files via the "save file" dialog.
Is this by design or am I just missing something?
Steps to reproduce:
establish connection to any server, open a database and open the query tool
write some text
I also noticed that there is no home folder for pgadmin
My configuration:
Your support is greatly appreciated
When I try and install the plugin through the marketplace, I get the following error:
Extension was not installed. Reason: installation could not be completed due to:
executing 'C:\Program Files\Docker\Docker\resources\bin\docker --context desktop-linux compose -p mochoa_pgadmin4-docker-extension-desktop-extension -f C:\Users\USERNAME\AppData\Roaming\Docker\extensions\mochoa_pgadmin4-docker-extension\vm\docker-compose.yml up -d' : exit status 1:
Network mochoa_pgadmin4-docker-extension-desktop-extension_default
Creating Network mochoa_pgadmin4-docker-extension-desktop-extension_default
Created Volume "mochoa_pgadmin4-docker-extension-desktop-extension_pgadmin_data"
Creating Volume "mochoa_pgadmin4-docker-extension-desktop-extension_pgadmin_data"
Created Container mochoa_pgadmin4-docker-extension-desktop-extension-pgadmin4-docker-extension-1
Creating Container pgadmin4_embedded_dd_vm Creating Container pgadmin4_embedded_dd_vm
Created Container mochoa_pgadmin4-docker-extension-desktop-extension-pgadmin4-docker-extension-1
Created Container pgadmin4_embedded_dd_vm
Starting Container mochoa_pgadmin4-docker-extension-desktop-extension-pgadmin4-docker-extension-1
Starting Container mochoa_pgadmin4-docker-extension-desktop-extension-pgadmin4-docker-extension-1
Started Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:59080 -> 0.0.0.0:0: listen tcp 0.0.0.0:59080: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
I don't have anything else running on that port.
Docker Desktop 4.24.2
Hi!
Is there any way to backup to my local host system?
I'm running Docker Desktop on MacOS with pgAdmin4-Docker-Extension installed and I need to backup my database to my Mac but I can't find any way to mount to my host system. Is this even possible? If so, how?
This also applies to the other way around. I quiet often get databases from our customers and I need to restore them into my development environment. But I couldn't find a way to access a backup file from my host computer.
Thank you for your answer.
Only accessible area is the docker container's /tmp
directory. How would one access the "virtual directory" or shared location that has been configured in the docker configs locally?
Where can I save, for example, queries?
All folders seems write protected.
After running a query and trying to copy the data output using the copy button in the UI I get a small message stating "Does not have clipboard access".
I would be nice to be able to do that.
CONTRIBUTING.md is a must read file for a new contributor in any repository before starting to work.
Hi,
I cannot start the extension on my machine:
Note: it works on mac
PGAdmin4 failed to start, please close the extension and reopen/reinstall to try again.
I have opened debugger using docker extension dev debug mochoa/pgadmin4-docker-extension
. This is the error:
Hi,
I'm runnig the extension in Docker Desktop on Windows 10 Pro 22H2..
Actually I can start the extension, running v4 6.19. Docker desktop is showing an update, but when I try to update via CLI ,it fails
executing 'docker --context desktop-linux compose -p mochoa_pgadmin4-docker-extension-desktop-extension down --remove-orphans' : exit status 1:
unable to resolve docker endpoint: unexpected end of JSON input
The same when I try to uninstall, though it is calling the same command.
Any ideas how to force removal/update ?
Thx,
Holger
Image not available locally, pulling mochoa/pgadmin4-docker-extension:8.1.0...
Extracting metadata and files for the extension "mochoa/pgadmin4-docker-extension:8.1.0"
Installing service in Desktop VM...
Setting additional compose attributes
Installing Desktop extension UI for tab "PGAdmin4"...
Extension UI tab "PGAdmin4" added.
Starting service in Desktop VM......
failed when running compose up for extension mochoa/pgadmin4-docker-extension:8.1.0: executing '/Applications/Docker.app/Contents/Resources/bin/docker --context desktop-linux compose -p mochoa_pgadmin4-docker-extension-desktop-extension -f extensions/mochoa_pgadmin4-docker-extension/vm/docker-compose.yml up -d' : exit status 1:
Network mochoa_pgadmin4-docker-extension-desktop-extension_default Creating
Network mochoa_pgadmin4-docker-extension-desktop-extension_default Created
Volume "mochoa_pgadmin4-docker-extension-desktop-extension_pgadmin_data" Creating
Volume "mochoa_pgadmin4-docker-extension-desktop-extension_pgadmin_data" Created
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Creating
Container pgadmin4_embedded_dd_vm Creating
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Created
Container pgadmin4_embedded_dd_vm Created
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Starting
Container pgadmin4_embedded_dd_vm Starting
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Started
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:59080 -> 0.0.0.0:0: listen tcp 0.0.0.0:59080: bind: address already in use
executing '/Applications/Docker.app/Contents/Resources/bin/docker --context desktop-linux compose -p mochoa_pgadmin4-docker-extension-desktop-extension -f extensions/mochoa_pgadmin4-docker-extension/vm/docker-compose.yml up -d' : exit status 1:
Network mochoa_pgadmin4-docker-extension-desktop-extension_default Creating
Network mochoa_pgadmin4-docker-extension-desktop-extension_default Created
Volume "mochoa_pgadmin4-docker-extension-desktop-extension_pgadmin_data" Creating
Volume "mochoa_pgadmin4-docker-extension-desktop-extension_pgadmin_data" Created
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Creating
Container pgadmin4_embedded_dd_vm Creating
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Created
Container pgadmin4_embedded_dd_vm Created
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Starting
Container pgadmin4_embedded_dd_vm Starting
Container mochoa_pgadmin4-docker-extension-desktop-extension-service Started
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:59080 -> 0.0.0.0:0: listen tcp 0.0.0.0:59080: bind: address already in use
Removing extension mochoa/pgadmin4-docker-extension:8.1.0...
Removing extension containers...
Extension containers removed
VM service socket forwarding stopped
Extension UI tab PGAdmin4 removed
Extension image mochoa/pgadmin4-docker-extension:8.1.0 removed
Extension "Open Source management tool for PostgreSQL" removed
Can you use the next available port? I am not sure if it is possible.
Or any configuration before starting?
Installed the plugin in docker,it‘s option in docker dashboard only, How to visit pgAdmin4 docker extension server in external browser?
tks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.