aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2023-07-20 14:20:24 +0200
committerIvan Solovev <ivan.solovev@qt.io>2023-07-21 12:06:10 +0200
commite90b39053b26a96a37d0f9d28640862121b52dc1 (patch)
treec8ea3687dc1c280640996bce3f7af2eaea12db99 /examples
parent30ad860c5ef722cd9bfe85dd051f73e7035c25e4 (diff)
Examples: update docker-related commands
The docker containers were moved to the 'tqtc' account on docker hub, Some of them were also updated to fix SSL-related errors. This patch updates the example documentation to refer to proper docker containers. Task-number: QTBUG-114798 Pick-to: 6.6 6.5 Change-Id: Ib02a33eb6281156350400eb6538c371fb1e2157c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/coap/doc/quickmulticastclient.qdoc6
-rw-r--r--examples/coap/doc/quicksecureclient.qdoc6
-rw-r--r--examples/coap/doc/simplecoapclient.qdoc4
3 files changed, 8 insertions, 8 deletions
diff --git a/examples/coap/doc/quickmulticastclient.qdoc b/examples/coap/doc/quickmulticastclient.qdoc
index dbf8063..0bc6a6f 100644
--- a/examples/coap/doc/quickmulticastclient.qdoc
+++ b/examples/coap/doc/quickmulticastclient.qdoc
@@ -33,7 +33,7 @@
discovery features.
\li Use the ready Docker image available at Docker Hub, which builds and starts
CoAP server based on Californium's
- \l {https://github.com/eclipse/californium/tree/2.0.x/demo-apps/cf-helloworld-server}
+ \l {https://github.com/eclipse/californium/tree/2.0.0/demo-apps/cf-helloworld-server}
{multicast server example}.
\endlist
@@ -43,7 +43,7 @@
Docker Hub and starts it:
\badcode
- docker run --name coap-multicast-server -d --rm --net=host sokurazy/coap-multicast-test-server:californium.2.0.x
+ docker run --name coap-multicast-server -d --rm --net=host tqtc/coap-multicast-test-server:californium-2.0.0
\endcode
\note You can run more than one multicast CoAP servers (on the same host or other
@@ -55,7 +55,7 @@
\badcode
$ docker ps
CONTAINER ID IMAGE
- ccaaeae059f1 sokurazy/coap-multicast-test-server:californium.2.0.x
+ 8b991fae7789 tqtc/coap-multicast-test-server:californium-2.0.0
\endcode
After that, use this ID to stop the container:
diff --git a/examples/coap/doc/quicksecureclient.qdoc b/examples/coap/doc/quicksecureclient.qdoc
index d3798fe..09e8e89 100644
--- a/examples/coap/doc/quicksecureclient.qdoc
+++ b/examples/coap/doc/quicksecureclient.qdoc
@@ -163,7 +163,7 @@
starts it:
\badcode
- docker run --name coap-test-server -d --rm -p 5683:5683/udp -p 5684:5684/udp sokurazy/coap-secure-test-server:californium.1.1.0
+ docker run --name coap-test-server -d --rm -p 5683:5683/udp -p 5684:5684/udp tqtc/coap-californium-test-server:3.8.0
\endcode
The CoAP test server will be reachable on ports \e 5683 (non-secure) and
@@ -182,7 +182,7 @@
the container from Docker Hub and starts it:
\badcode
- docker run --name coap-time-server -d --rm -p 5684:5684/udp sokurazy/coap-secure-time-sever:freecoap
+ docker run --name coap-time-server -d --rm -p 5684:5684/udp tqtc/coap-secure-time-server:freecoap
\endcode
For instructions on retrieving the IP address see \l {Getting The IP Address}.
@@ -214,7 +214,7 @@
\badcode
$ docker ps
CONTAINER ID IMAGE
- 5e46502df88f sokurazy/coap-secure-test-server:californium.1.1.0
+ 5e46502df88f tqtc/coap-californium-test-server:3.8.0
\endcode
Then you can obtain the IP address with the following command:
diff --git a/examples/coap/doc/simplecoapclient.qdoc b/examples/coap/doc/simplecoapclient.qdoc
index 98bb8a7..8a1695f 100644
--- a/examples/coap/doc/simplecoapclient.qdoc
+++ b/examples/coap/doc/simplecoapclient.qdoc
@@ -38,7 +38,7 @@
Hub and starts it:
\badcode
- docker run --name coap-test-server -d --rm -p 5683:5683/udp -p 5684:5684/udp sokurazy/coap-secure-test-server:californium.1.1.0
+ docker run --name coap-test-server -d --rm -p 5683:5683/udp -p 5684:5684/udp tqtc/coap-californium-test-server:3.8.0
\endcode
To find out the IP address of the docker container, first retrieve the container ID
@@ -47,7 +47,7 @@
\badcode
$ docker ps
CONTAINER ID IMAGE
- 5e46502df88f sonakur/coap-secure-test-server:californium.1.1.0
+ 5e46502df88f tqtc/coap-californium-test-server:3.8.0
\endcode
Then you can obtain the IP address with the following command: