https://github.com/netzulo/tl-docker
Testlink Docker Custom Image
https://github.com/netzulo/tl-docker
Last synced: 16 days ago
JSON representation
Testlink Docker Custom Image
- Host: GitHub
- URL: https://github.com/netzulo/tl-docker
- Owner: netzulo
- License: gpl-3.0
- Created: 2018-08-12T19:57:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-15T15:09:12.000Z (almost 7 years ago)
- Last Synced: 2025-02-19T12:59:58.310Z (over 1 year ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tl-docker
Testlink Docker Custom Image
## How to install ?
+ 1. Build the image: ```docker build -t netzuloqa/testlink --file ./DockerFile .```
+ 2. Run new container from new image ( docker-compose): ```docker-compose up```
+ 2.1 Ensure container it's up and running: ```docker ps -a```
+ 2.2 If not, start container with: ```docker run -it -p 88:80 IMAGE_ID /bin/bash```
## How to enter to docker image ?
+ 1. Ensure you have image up and running with : ```docker ps```
+ 2. Enter to container using default image tty : ```docker exec -it CONTAINER_ID /bin/bash```
### Delete temp images while development
+ Ensure what you need to delete it: ```docker ps -a && docker images -a```
### Using an alias to rebuild fast while development
+ Add this alias to your ```~/.bashrc``` : ```alias tl-docker='docker build -t netzuloqa/testlink --file ./DockerFile . && docker run -it -p 88:80 -p 13306:3306 --volume /opt/containers/tl-docker/volumes/testlink-code:/var/www/testlink-code netzuloqa/testlink /bin/bash'```