diff --git a/README.md b/README.md index 8f5258c51..d53d59cbb 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ The easiest way to manage Docker. [](http://microbadger.com/images/portainer/portainer "Image size") +[](http://portainer.readthedocs.io/en/stable/?badge=stable) [](https://gitter.im/portainer/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Portainer is a lightweight management UI which allows you to **easily** manage your Docker host or Swarm cluster. @@ -29,7 +30,7 @@ If you don't specify any target, its default behaviour is to use a bind mount on $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer ``` -Have a look at our [wiki](https://github.com/portainer/portainer/wiki/Deployment) for more deployment options. +Have a look at our [documentation](http://portainer.readthedocs.io/en/stable/deployment.html) for more deployment options. # Configuration @@ -61,13 +62,13 @@ Add the `--templates` flag and specify the external location of your templates w $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer --templates http://my-host.my-domain/templates.json ``` -For more information about hosting your own template definitions and the format, see: https://github.com/portainer/templates +For more information about hosting your own template definitions and the format, see the [templates documentation](http://portainer.readthedocs.io/en/stable/templates.html). -Have a look at our [wiki](https://github.com/portainer/portainer/wiki/Configuration) for more configuration options. +Check our [documentation](http://portainer.readthedocs.io/en/stable/configuration.html) for more configuration options. # FAQ -Be sure to check our [FAQ](https://github.com/portainer/portainer/wiki/FAQ) if you are missing some information. +Be sure to check our [FAQ](http://portainer.readthedocs.io/en/stable/faq.html) if you are missing some information. # Limitations diff --git a/api/main.go b/api/main.go index 4e81b2c56..e6ad24eb2 100644 --- a/api/main.go +++ b/api/main.go @@ -6,7 +6,7 @@ import ( // main is the entry point of the program func main() { - kingpin.Version("1.9.0") + kingpin.Version("1.9.1") var ( endpoint = kingpin.Flag("host", "Dockerd endpoint").Default("unix:///var/run/docker.sock").Short('H').String() addr = kingpin.Flag("bind", "Address and port to serve Portainer").Default(":9000").Short('p').String() diff --git a/app/app.js b/app/app.js index 0daaa86d7..8cc2eb4d7 100644 --- a/app/app.js +++ b/app/app.js @@ -188,4 +188,4 @@ angular.module('portainer', [ .constant('DOCKER_PORT', '') // Docker port, leave as an empty string if no port is requred. If you have a port, prefix it with a ':' i.e. :4243 .constant('CONFIG_ENDPOINT', 'settings') .constant('TEMPLATES_ENDPOINT', 'templates') - .constant('UI_VERSION', 'v1.9.0'); + .constant('UI_VERSION', 'v1.9.1'); diff --git a/app/components/containerConsole/containerConsoleController.js b/app/components/containerConsole/containerConsoleController.js index 7bcd91734..3f1bcd757 100644 --- a/app/components/containerConsole/containerConsoleController.js +++ b/app/components/containerConsole/containerConsoleController.js @@ -9,7 +9,7 @@ function ($scope, $stateParams, Settings, Container, Exec, $timeout, Messages) { // Ensure the socket is closed before leaving the view $scope.$on('$stateChangeStart', function (event, next, current) { - if (socket !== null) { + if (socket && socket !== null) { socket.close(); } }); diff --git a/app/components/containers/containers.html b/app/components/containers/containers.html index 378233f34..e8f681f41 100644 --- a/app/components/containers/containers.html +++ b/app/components/containers/containers.html @@ -41,8 +41,8 @@