BUILD and RUN
1. Install Docker via apt-get install docker or pacman -S docker
2. Build image - go to virola_docker directory and run command: 	docker build -t virola_server .  
	where -t virola_server is tag name
3. Get license.txt and put file to the host node permanent directory wich whill be used for attachments and sqlite database
4. Create Docker container vith command: docker run -d -p 443:7777 --name virola_server_docker_container -v /virola:/virola virola_server:latest
	where -d - deamonize container, use for production, remove option for testing purposes
	where -p 443:777 - host node port (external) is 443, docker ct default port 7777 (can be defined via build option or via Docker file)
	where --name virola_server_docker_container - container name
	where -v /virola:/virola - mount-bind host node directory /virola (as example but you can use any directory) to the docker filesystem directory /virola,
		use this for production, for testing purposes remove this option so container will regenerate db for each start and don't forget to uncomment #COPY license.txt in Dockerfile)
	where virola_server:latest - build tag/image to use, defined during build step
5. PROFIT!


EXPORT and IMPORT
1. Export prebuilded image - docker image save virola_server | gzip > virola_server.tar.gz
	where virola_server - image name from build step
	where gzip > virola_server.tar.gz - save image as compressed archive with name virola_server.tar.gz
2. Import archived image - docker load < virola_server.tar.gz
	where virola_server.tar.gz - compressed archive filename 
3. Create Docker container as described previously
4. PROFIT!



USEFULL COMMANDS
List all docker containers - docker ps -a
List all docker images - docker image ls

Remove all docker containers (alias) - alias docker_rm_all_cts='docker rm $(docker ps -a -q)'
Remove all docker images (alias)     - alias docker_rm_all_imgs='docker rmi $(docker images -q)'

