sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.63k stars 732 forks source link

docker run failing #152

Closed joeblew99 closed 8 years ago

joeblew99 commented 8 years ago

The run command to boot up the web ui is failing. As per wiki instructions: https://github.com/sosedoff/pgweb/wiki/Docker

I am not that familiar with docker, but it may be to do with the fact i am using the latest docker for mac on OSX that uses xhyve (and not virtual box), and it maybe an API change with dockers latest release ?

Docker Information API Endpoint: dockerapi API Version: 1.23 Docker version: 1.11.1


x-MacBook-Pro:pgweb apple$ docker run -p 8081:8081 --link db:db -e DATABASE_URL=postgres://postgres:postgres@db:5432/postgres
docker: "run" requires a minimum of 1 argument.
See 'docker run --help'.

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container
x-MacBook-Pro:pgweb apple$ 
sosedoff commented 8 years ago

I updated the wiki to include the proper command. It was missing the image name (sosedoff/pgweb).