Created
June 26, 2020 15:02
-
-
Save Inkimar/94cd7bd71b1f2efcd131e576975fca95 to your computer and use it in GitHub Desktop.
jboss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://planet.jboss.org/post/deploy_to_wildfly_using_jboss_cli_tech_tip_11 | |
bin/jboss-cli.sh --connect --command="deploy target/javaee7-1.0-SNAPSHOT.war --force" | |
You can select working directory for the command to execute into | |
docker exec -it -w /root ubuntu_bash pwd | |
/root | |
-> docker exec -it -w /tmp betanaturalist pwd | |
<- /tmp | |
-> docker exec -it -w /tmp betanaturalist ls -ali | |
3934007 drwxrwxrwt 1 root root 4096 Jun 26 14:03 . | |
3411923 drwxr-xr-x 1 root root 4096 Jun 26 14:03 .. | |
3815383 drwxrwxrwt 2 root root 4096 Dec 5 2018 .ICE-unix | |
3815384 drwxrwxrwt 2 root root 4096 Dec 5 2018 .Test-unix | |
3815385 drwxrwxrwt 2 root root 4096 Dec 5 2018 .X11-unix | |
3815386 drwxrwxrwt 2 root root 4096 Dec 5 2018 .XIM-unix | |
3815387 drwxrwxrwt 2 root root 4096 Dec 5 2018 .font-unix | |
3934008 drwxr-xr-x 1 root root 4096 Jun 26 14:07 hsperfdata_root | |
3815388 -rwx------ 1 root root 836 Dec 5 2018 ks-script-h2MyUP | |
3409600 -rw-rw-r-- 1 1003 1003 17739905 Jun 26 14:02 naturalist.war | |
3815389 -rw------- 1 root root 0 Dec 5 2018 yum.log | |
@docker exec shared_seqdb_database sh -c 'exec mysqldump ${MYSQL_DATABASE} -u${MYSQL_USER} -p${MYSQL_PASSWORD}' > ./db-backup/${MYSQL_DATABASE}_${TS}.sql | |
-> docker exec betanaturalist sh -c 'exec bin/jboss-cli.sh' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment