running broker using the default username & password artemis, e.g.: $ docker exec -it mycontainer /
var/lib/artemis-instance/bin/artemis shell --user artemis --password artemis Using the shell command you 8161:8161 apache/activemq-artemis:latest-alpine Mapping point The image will use the directory /
var/lib/artemis-instance to hold the configuration and the data of the running broker. You can map this outside of a container, e.g.: docker run -it -p 61616:61616 -p 8161:8161 -v
:/var/lib/artemis-instance apache/activemq-artemis:latest-alpine In this case the value 0 码力 |
537 页 |
11.11 MB
| 1 年前 3
of runtime data under the /var/lib directory. For example, to create an instance at '/var/lib/mybroker', run the following commands in your command line shell: cd /var/lib ${ARTEMIS_HOME}/bin/artemis start Assuming you created the broker instance under /var/lib/mybroker all you need to do start running the broker instance is execute: /var/lib/mybroker/bin/artemis run Now that the broker is running Artemis instance you will use the same artemis script, but with the stop argument . Example: /var/lib/mybroker/bin/artemis stop Please note that Apache ActiveMQ Artemis requires a Java 7 or later
0 码力 |
244 页 |
1.46 MB
| 1 年前 3
of runtime data under the /var/lib directory. For example, to create an instance at '/var/lib/mybroker', run the following commands in your command line shell: cd /var/lib ${ARTEMIS_HOME}/bin/artemis start Assuming you created the broker instance under /var/lib/mybroker all you need to do start running the broker instance is execute: /var/lib/mybroker/bin/artemis run Now that the broker is running Artemis instance you will use the same artemis script, but with the stop argument . Example: /var/lib/mybroker/bin/artemis stop Please note that Apache ActiveMQ Artemis requires a Java 7 or later
0 码力 |
247 页 |
1.47 MB
| 1 年前 3
of runtime data under the /var/lib directory. For example, to create an instance at '/var/lib/mybroker', run the following commands in your command line shell: cd /var/lib ${ARTEMIS_HOME}/bin/activemq start Assuming you created the broker instance under /var/lib/mybroker all you need to do start running the broker instance is execute: /var/lib/mybroker/bin/activemq run Now that the broker is running Artemis instance you will use the same activemq script, but with the stop argument . Example: /var/lib/mybroker/bin/activemq stop Please note that Apache ActiveMQ Artemis requires a Java 7 or later
0 码力 |
234 页 |
1.40 MB
| 1 年前 3
of runtime data under the /var/lib directory. For example, to create an instance at '/var/lib/mybroker', run the following commands in your command line shell: cd /var/lib ${ARTEMIS_HOME}/bin/artemis Instance Assuming you created the broker instance under /var/lib/mybroker all you need to do start running the broker instance is execute: /var/lib/mybroker/bin/artemis run Now that the broker is running Artemis instance you will use the same artemis script, but with the stop argument . Example: /var/lib/mybroker/bin/artemis stop Please note that Apache ActiveMQ Artemis requires a Java 7 or later
0 码力 |
265 页 |
2.84 MB
| 1 年前 3