瀏覽代碼

Run update.sh

Docker Library Bot 8 年之前
父節點
當前提交
27a8c10dac
共有 11 個文件被更改,包括 172 次插入31 次删除
  1. 26 0
      adminer/README.md
  2. 2 2
      backdrop/README.md
  3. 7 3
      drupal/README.md
  4. 22 0
      elasticsearch/README.md
  5. 4 4
      erlang/README.md
  6. 10 5
      geonetwork/README.md
  7. 22 14
      joomla/README.md
  8. 22 0
      kibana/README.md
  9. 25 0
      mysql/README.md
  10. 7 3
      owncloud/README.md
  11. 25 0
      postgres/README.md

+ 26 - 0
adminer/README.md

@@ -76,6 +76,32 @@ Then point your web server to port 9000 of the container.
 
 
 Note: This exposes the FastCGI socket to the Internet. Make sure to add proper firewall rules or use a private Docker network instead to prevent a direct access.
 Note: This exposes the FastCGI socket to the Internet. Make sure to add proper firewall rules or use a private Docker network instead to prevent a direct access.
 
 
+### ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
+
+Example `stack.yml` for `adminer`:
+
+```yaml
+# Use root/example as user/password credentials
+
+version: '3.1'
+
+services:
+
+    adminer:
+        image: adminer
+        ports:
+            - 8080:8080
+
+    db:
+        image: mysql:5.6
+        environment:
+            MYSQL_ROOT_PASSWORD: example
+```
+
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/adminer/stack.yml)
+
+Run `docker stack deploy -c stack.yml adminer` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
+
 ### Loading plugins
 ### Loading plugins
 
 
 This image bundles all official adminer plugins. You can find the list of plugins on GitHub: https://github.com/vrana/adminer/tree/master/plugins.
 This image bundles all official adminer plugins. You can find the list of plugins on GitHub: https://github.com/vrana/adminer/tree/master/plugins.

+ 2 - 2
backdrop/README.md

@@ -16,8 +16,8 @@ WARNING:
 
 
 # Supported tags and respective `Dockerfile` links
 # Supported tags and respective `Dockerfile` links
 
 
--	[`1.7.0`, `1.7`, `1`, `1.7.0-apache`, `1.7-apache`, `1-apache`, `apache`, `latest` (*1/apache/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/eb1e89429700e5e457a977ce079175ed640d8cf6/1/apache/Dockerfile)
--	[`1.7.0-fpm`, `1.7-fpm`, `1-fpm`, `fpm` (*1/fpm/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/eb1e89429700e5e457a977ce079175ed640d8cf6/1/fpm/Dockerfile)
+-	[`1.7.1`, `1.7`, `1`, `1.7.1-apache`, `1.7-apache`, `1-apache`, `apache`, `latest` (*1/apache/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/5243e66274cdbb1308021e440459f5ff2528a853/1/apache/Dockerfile)
+-	[`1.7.1-fpm`, `1.7-fpm`, `1-fpm`, `fpm` (*1/fpm/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/5243e66274cdbb1308021e440459f5ff2528a853/1/fpm/Dockerfile)
 
 
 # Quick reference
 # Quick reference
 
 

+ 7 - 3
drupal/README.md

@@ -131,9 +131,9 @@ $ docker run --name some-drupal --link some-postgres:postgres -d \
 	-v drupal-themes:/var/www/html/themes \
 	-v drupal-themes:/var/www/html/themes \
 ```
 ```
 
 
-## ... via [`docker-compose`](https://github.com/docker/compose)
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
 
 
-Example `docker-compose.yml` for `drupal`:
+Example `stack.yml` for `drupal`:
 
 
 ```yaml
 ```yaml
 # Drupal with PostgreSQL
 # Drupal with PostgreSQL
@@ -148,7 +148,7 @@ Example `docker-compose.yml` for `drupal`:
 # Database password: example
 # Database password: example
 # ADVANCED OPTIONS; Database host: postgres
 # ADVANCED OPTIONS; Database host: postgres
 
 
-version: '2'
+version: '3.1'
 
 
 services:
 services:
 
 
@@ -173,6 +173,10 @@ services:
     restart: always
     restart: always
 ```
 ```
 
 
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/drupal/stack.yml)
+
+Run `docker stack deploy -c stack.yml drupal` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate). When installing select `postgres` as database with the following parameters: `dbname=postgres` `user=postgres` `pass=example` `hostname=postgres`
+
 ## Adding additional libraries / extensions
 ## Adding additional libraries / extensions
 
 
 This image does not provide any additional PHP extensions or other libraries, even if they are required by popular plugins. There are an infinite number of possible plugins, and they potentially require any extension PHP supports. Including every PHP extension that exists would dramatically increase the image size.
 This image does not provide any additional PHP extensions or other libraries, even if they are required by popular plugins. There are an infinite number of possible plugins, and they potentially require any extension PHP supports. Including every PHP extension that exists would dramatically increase the image size.

+ 22 - 0
elasticsearch/README.md

@@ -115,6 +115,28 @@ $ docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data elasticsearch
 
 
 This image includes `EXPOSE 9200 9300` ([default `http.port`](http://www.elastic.co/guide/en/elasticsearch/reference/1.5/modules-http.html)), so standard container linking will make it automatically available to the linked containers.
 This image includes `EXPOSE 9200 9300` ([default `http.port`](http://www.elastic.co/guide/en/elasticsearch/reference/1.5/modules-http.html)), so standard container linking will make it automatically available to the linked containers.
 
 
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
+
+Example `stack.yml` for `elasticsearch`:
+
+```yaml
+version: '3.1'
+
+services:
+
+    elasticsearch:
+        image: elasticsearch
+
+    kibana:
+        image: kibana
+        ports:
+            - 5601:5601
+```
+
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/elasticsearch/stack.yml)
+
+Run `docker stack deploy -c stack.yml elasticsearch` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:5601`, `http://localhost:5601`, or `http://host-ip:5601` (as appropriate).
+
 # Image Variants
 # Image Variants
 
 
 The `elasticsearch` images come in many flavors, each designed for a specific use case.
 The `elasticsearch` images come in many flavors, each designed for a specific use case.

+ 4 - 4
erlang/README.md

@@ -16,10 +16,10 @@ WARNING:
 
 
 # Supported tags and respective `Dockerfile` links
 # Supported tags and respective `Dockerfile` links
 
 
--	[`20.0-rc2` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/60279df11f4f11abfdce15599d24ad73c1aefbe1/20/Dockerfile)
--	[`20.0-rc2-slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/60279df11f4f11abfdce15599d24ad73c1aefbe1/20/slim/Dockerfile)
--	[`20.0-rc2-alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/60279df11f4f11abfdce15599d24ad73c1aefbe1/20/alpine/Dockerfile)
--	[`19.3.6`, `19.3`, `19`, `latest` (*19/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/bd4db4d454e410c92f00125ffd7b4f9db8ff6a8b/19/Dockerfile)
+-	[`20.0`, `latest` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/8128be859f47c39473be9fa2c2ae33af28f74279/20/Dockerfile)
+-	[`20.0-slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/8128be859f47c39473be9fa2c2ae33af28f74279/20/slim/Dockerfile)
+-	[`20.0-alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/8128be859f47c39473be9fa2c2ae33af28f74279/20/alpine/Dockerfile)
+-	[`19.3.6`, `19.3`, `19` (*19/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/bd4db4d454e410c92f00125ffd7b4f9db8ff6a8b/19/Dockerfile)
 -	[`19.3.6-slim`, `19.3-slim`, `19-slim`, `slim` (*19/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/bd4db4d454e410c92f00125ffd7b4f9db8ff6a8b/19/slim/Dockerfile)
 -	[`19.3.6-slim`, `19.3-slim`, `19-slim`, `slim` (*19/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/bd4db4d454e410c92f00125ffd7b4f9db8ff6a8b/19/slim/Dockerfile)
 -	[`18.3.4.5`, `18.3.4`, `18.3`, `18` (*18/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/Dockerfile)
 -	[`18.3.4.5`, `18.3.4`, `18.3`, `18` (*18/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/Dockerfile)
 -	[`18.3.4.5-slim`, `18.3.4-slim`, `18.3-slim`, `18-slim` (*18/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/slim/Dockerfile)
 -	[`18.3.4.5-slim`, `18.3.4-slim`, `18.3-slim`, `18-slim` (*18/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/slim/Dockerfile)

+ 10 - 5
geonetwork/README.md

@@ -100,9 +100,9 @@ If you want the data directory to live beyond restarts, or even destruction of t
 $ docker run --name some-geonetwork -d -p 8080:8080 -e DATA_DIR=/var/lib/geonetwork_data -v /host/geonetwork-docker:/var/lib/geonetwork_data geonetwork
 $ docker run --name some-geonetwork -d -p 8080:8080 -e DATA_DIR=/var/lib/geonetwork_data -v /host/geonetwork-docker:/var/lib/geonetwork_data geonetwork
 ```
 ```
 
 
-## ... via [`docker-compose`](https://github.com/docker/compose)
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
 
 
-Example `docker-compose.yml` for `geonetwork`:
+Example `stack.yml` for `geonetwork`:
 
 
 ```yaml
 ```yaml
 # GeoNetwork
 # GeoNetwork
@@ -112,7 +112,7 @@ Example `docker-compose.yml` for `geonetwork`:
 # Default user: admin
 # Default user: admin
 # Default password: admin
 # Default password: admin
 
 
-version: '2'
+version: '3.1'
 services:
 services:
 
 
     geonetwork:
     geonetwork:
@@ -122,10 +122,15 @@ services:
       environment:
       environment:
           DATA_DIR: /var/lib/geonetwork_data
           DATA_DIR: /var/lib/geonetwork_data
       volumes:
       volumes:
-         - "/host/geonetwork-docker:/var/lib/geonetwork_data"
+         - geonetwork:/var/lib/geonetwork_data
+
+volumes:
+    geonetwork:
 ```
 ```
 
 
-Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080/geonetwork` or `http://host-ip:8080/geonetwork`.
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/geonetwork/stack.yml)
+
+Run `docker stack deploy -c stack.yml geonetwork` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080/geonetwork`, `http://localhost:8080/geonetwork`, or `http://host-ip:8080/geonetwork` (as appropriate).
 
 
 ## Default credentials
 ## Default credentials
 
 

+ 22 - 14
joomla/README.md

@@ -84,25 +84,33 @@ $ docker run --name some-joomla -e JOOMLA_DB_HOST=10.1.2.3:3306 \
     -e JOOMLA_DB_USER=... -e JOOMLA_DB_PASSWORD=... -d joomla
     -e JOOMLA_DB_USER=... -e JOOMLA_DB_PASSWORD=... -d joomla
 ```
 ```
 
 
-## ... via [`docker-compose`](https://github.com/docker/compose)
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
 
 
-Example `docker-compose.yml` for `joomla`:
+Example `stack.yml` for `joomla`:
 
 
 ```yaml
 ```yaml
-joomla:
-  image: joomla
-  links:
-    - joomladb:mysql
-  ports:
-    - 8080:80
-
-joomladb:
-  image: mysql:5.6
-  environment:
-    MYSQL_ROOT_PASSWORD: example
+version: '3.1'
+
+services:
+    joomla:
+        image: joomla
+        links:
+            - joomladb:mysql
+        ports:
+            - 8080:80
+        environment:
+          JOOMLA_DB_HOST: joomladb
+          JOOMLA_DB_PASSWORD: example
+
+    joomladb:
+        image: mysql:5.6
+        environment:
+            MYSQL_ROOT_PASSWORD: example
 ```
 ```
 
 
-Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`.
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/joomla/stack.yml)
+
+Run `docker stack deploy -c stack.yml joomla` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
 
 
 ## Adding additional libraries / extensions
 ## Adding additional libraries / extensions
 
 

+ 22 - 0
kibana/README.md

@@ -89,6 +89,28 @@ $ docker run --name some-kibana -e ELASTICSEARCH_URL=http://some-elasticsearch:9
 
 
 Then, access it via `http://localhost:5601` or `http://host-ip:5601` in a browser.
 Then, access it via `http://localhost:5601` or `http://host-ip:5601` in a browser.
 
 
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
+
+Example `stack.yml` for `kibana`:
+
+```yaml
+version: '3.1'
+
+services:
+
+    kibana:
+        image: kibana
+        ports:
+            - 5601:5601
+
+    elasticsearch:
+        image: elasticsearch
+```
+
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/kibana/stack.yml)
+
+Run `docker stack deploy -c stack.yml kibana` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:5601`, `http://localhost:5601`, or `http://host-ip:5601` (as appropriate).
+
 # License
 # License
 
 
 View [license information](https://github.com/elastic/kibana/blob/4557a6fc0ba08c5e7ac813a180179e5e2631c90a/LICENSE.md) for the software contained in this image.
 View [license information](https://github.com/elastic/kibana/blob/4557a6fc0ba08c5e7ac813a180179e5e2631c90a/LICENSE.md) for the software contained in this image.

+ 25 - 0
mysql/README.md

@@ -92,6 +92,31 @@ $ docker run -it --rm mysql mysql -hsome.mysql.host -usome-mysql-user -p
 
 
 More information about the MySQL command line client can be found in the [MySQL documentation](http://dev.mysql.com/doc/en/mysql.html)
 More information about the MySQL command line client can be found in the [MySQL documentation](http://dev.mysql.com/doc/en/mysql.html)
 
 
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
+
+Example `stack.yml` for `mysql`:
+
+```yaml
+# Use root/example as user/password credentials
+version: '3.1'
+
+services:
+
+    db:
+        image: mysql
+        environment:
+            MYSQL_ROOT_PASSWORD: example
+
+    adminer:
+        image: adminer
+        ports:
+            - 8080:8080
+```
+
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/mysql/stack.yml)
+
+Run `docker stack deploy -c stack.yml mysql` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
+
 ## Container shell access and viewing MySQL logs
 ## Container shell access and viewing MySQL logs
 
 
 The `docker exec` command allows you to run commands inside a Docker container. The following command line will give you a bash shell inside your `mysql` container:
 The `docker exec` command allows you to run commands inside a Docker container. The following command line will give you a bash shell inside your `mysql` container:

+ 7 - 3
owncloud/README.md

@@ -98,9 +98,9 @@ The [`occ` tool from upstream](https://doc.owncloud.org/server/9.0/admin_manual/
 $ docker exec -u www-data some-owncloud php occ status
 $ docker exec -u www-data some-owncloud php occ status
 ```
 ```
 
 
-## ... via [`docker-compose`](https://github.com/docker/compose)
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
 
 
-Example `docker-compose.yml` for `owncloud`:
+Example `stack.yml` for `owncloud`:
 
 
 ```yaml
 ```yaml
 # ownCloud with MariaDB/MySQL
 # ownCloud with MariaDB/MySQL
@@ -113,7 +113,7 @@ Example `docker-compose.yml` for `owncloud`:
 # Database name: pick any name
 # Database name: pick any name
 # Database host: replace "localhost" with "mysql"
 # Database host: replace "localhost" with "mysql"
 
 
-version: '2'
+version: '3.1'
 
 
 services:
 services:
 
 
@@ -128,6 +128,10 @@ services:
       MYSQL_ROOT_PASSWORD: example
       MYSQL_ROOT_PASSWORD: example
 ```
 ```
 
 
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/owncloud/stack.yml)
+
+Run `docker stack deploy -c stack.yml owncloud` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080/`, `http://localhost:8080/`, or `http://host-ip:8080` (as appropriate).
+
 # License
 # License
 
 
 View [license information](https://owncloud.org/contribute/agreement/) for the software contained in this image.
 View [license information](https://owncloud.org/contribute/agreement/) for the software contained in this image.

+ 25 - 0
postgres/README.md

@@ -96,6 +96,31 @@ postgres=# SELECT 1;
 
 
 ```
 ```
 
 
+## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
+
+Example `stack.yml` for `postgres`:
+
+```yaml
+# Use postgres/example user/password credentials
+version: '3.1'
+
+services:
+
+    db:
+        image: postgres
+        environment:
+            POSTGRES_PASSWORD: example
+
+    adminer:
+        image: adminer
+        ports:
+            - 8080:8080
+```
+
+[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/postgres/stack.yml)
+
+Run `docker stack deploy -c stack.yml postgres` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
+
 ## Environment Variables
 ## Environment Variables
 
 
 The PostgreSQL image uses several environment variables which are easy to miss. While none of the variables are required, they may significantly aid you in using the image.
 The PostgreSQL image uses several environment variables which are easy to miss. While none of the variables are required, they may significantly aid you in using the image.