Wiki source code of JDBC2XML Docker-Image
Last modified by christoph_lechleitner@iteg_at on 2025-05-06 06.03:32
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | = {{id name="JDBC2XMLDocker-Image-JDBC2XMLDocker-ImageOverview"/}}JDBC2XML Docker-Image Overview = |
| 2 | |||
| |
2.1 | 3 | A Docker-Image of JDBC2XML can be publicly pulled as [[clazzesorg/jdbc2xml>>url:https://hub.docker.com/repository/docker/clazzesorg/jdbc2xml||shape="rect"]], current tags are {{code language="none"}}1.6{{/code}} (legacy stable) and {{code language="none"}}beta{{/code}} (currently recommended), the vague {{code language="none"}}latest{{/code}} has been removed. |
| |
1.1 | 4 | |
| 5 | This public free image only contains the free JDBC drivers for MariaDB and PostgreSQL. | ||
| 6 | |||
| |
2.1 | 7 | To add additional JDBC drivers just map the JAR file under {{code language="none"}}/usr/lib/jdbc2xml/lib/{{/code}} (or map them elsewhere and specify them using {{code language="none"}}--*driver{{/code}} options). |
| |
1.1 | 8 | |
| 9 | = {{id name="JDBC2XMLDocker-Image-Imageusageexamples"/}}Image usage examples = | ||
| 10 | |||
| 11 | Here are some basic examples for getting the jdbc2xml help text, making a connection test, and duming a database: | ||
| 12 | |||
| 13 | {{code language="none"}} | ||
| |
2.1 | 14 | docker run -i -t --rm clazzesorg/jdbc2xml:beta jdbc2xml --help |
| |
1.1 | 15 | |
| |
2.1 | 16 | docker run -i -t --rm --network mariadb clazzesorg/jdbc2xml:beta \ |
| |
1.1 | 17 | jdbcping --user testUser --password testPassword --url jdbc:mariadb://mariadb-server:3306/testdb |
| 18 | |||
| 19 | docker run -i -t --rm --network mariadb \ | ||
| 20 | -v /tmp:/tmp:rw \ | ||
| |
2.1 | 21 | clazzesorg/iteggmbh/jdbc2xml:beta \ |
| |
1.1 | 22 | jdbc2xml --user testUser --password testPassword --url jdbc:mariadb://mariadb:3306/testdb --file /tmp/testdb.xml |
| 23 | |||
| 24 | |||
| 25 | {{/code}} | ||
| 26 | |||
| |
2.1 | 27 | (% class="legacy-color-text-blue3" style="letter-spacing: 0.0px;" %)For more syntax sugre also see [[doc:JDBC2XML.JDBC2XML Usage.WebHome]]. |