| 18 | |
| 19 | 1. On the host machine go to directory |
| 20 | |
| 21 | {{{cd /local/docker/<USER>/}}} |
| 22 | |
| 23 | 2. Go to this directory and checkout from docker_briccs_labels |
| 24 | |
| 25 | {{{sudo git clone https://github.com/LCBRU/docker_briccs_labels.git}}} |
| 26 | |
| 27 | {{{sudo chmod -R 777 docker_nginx_ssl/}}} |
| 28 | |
| 29 | This will create a directory /local/docker/<USER>/docker_briccs_labels |
| 30 | |
| 31 | 3. To build the image : |
| 32 | |
| 33 | {{{sudo docker build -t lcbruit/briccs_label:v1.1 .}}} |
| 34 | |
| 35 | 4. To run the docker container : |
| 36 | |
| 37 | {{{sudo docker run -itd -p 8080:8080 lcbruit/briccs_label:v1.1}}} |
| 38 | |
| 39 | 9. Test BRICCS Label Printing : |
| 40 | |
| 41 | {{{http://XXXXXXXXXXXXXX.xuhl-tr.nhs.uk:8080}}} |
| 42 | |