Installation (Xwiki on docker)

Hello,
I’m noob to Xwiki & docker. I need help in installing Xwiki on my computer. I’ve read all the guides/article on xwiki site and docker site but couln’t figure out how to properly install Xwiki.
Can somebody tell me step by step how to install Xwiki on docker and change port number
Thanks

See https://hub.docker.com/_/xwiki/

hello there,
Thanks for your quick response.
I’ve pulled xwiki image from docker hub but im stuck in the next step as there’s lack of detail.

What should i change in this line:

docker run --net=xwiki-nw --name mysql-xwiki -v /my/own/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=xwiki -e MYSQL_USER=xwiki -e MYSQL_PASSWORD=xwiki -e MYSQL_DATABASE=xwiki -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin --explicit-defaults-for-timestamp=1

and this also ??
docker run --net=xwiki-nw --name xwiki -p 8080:8080 -v /my/own/xwiki:/usr/local/xwiki -e DB_USER=xwiki -e DB_PASSWORD=xwiki -e DB_DATABASE=xwiki -e DB_HOST=mysql-xwiki xwiki:mysql-tomcat

I don’t understand the question. why do you want to change any line?

do i have change dir?? and where is it going to store the db ?

Also do i have instal mysql? which verion, from where and where to place it on my computer so xwiki can store its data ?

Those are docker questions that are independent from XWiki.

You need to read the doc for “docker run” at https://docs.docker.com/engine/reference/run/ to understand the parameters passed.

You really need to read carefullly the doc at https://hub.docker.com/_/xwiki/ it has all the information.

For example:

The command below will also configure the MySQL container to save its data on your localhost in a /my/own/mysql directory:

docker run --net=xwiki-nw --name mysql-xwiki -v /my/own/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=xwiki -e MYSQL_USER=xwiki -e MYSQL_PASSWORD=xwiki -e MYSQL_DATABASE=xwiki -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin --explicit-defaults-for-timestamp=1
You should adapt the command line to use the passwords that you wish for the MySQL root password and for the xwiki user password.

I think you need to read docs about Docker first. Or not use Docker: there are other ways to install XWiki.

What are the other ways to instal xwiki on windows which is easy to install and configure and also the steps should be clear and in detail

Thanks

Did you try to google “xwiki installation” or look at xwiki.org?

Some links:

docker run --net=xwiki-nw --name **

mysql-xwiki -v /my/own/mysql:/var/lib/mysql

** -e MYSQL_ROOT_PASSWORD=xwiki -e MYSQL_USER=xwiki -e MYSQL_PASSWORD=xwiki -e MYSQL_DATABASE=xwiki -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin --explicit-defaults-for-timestamp=1

can’t locate this? and if i change this to another dir it gives error

xwiki
how to run xwiki? what’s the link to access xwiki