# Deploying examples into Docker

> Steps for deploy SDK sample pages into a Docker container.

## Using Docker

1. Docker must be installed on your computer
2. Docker is running on your computer.
3. Open a terminal 'cmd' or 'powershell'
4. Execute command, replacing the variable '{PATH_TO_INVOX_SDK-2.8.X_FOLDER}' for the INVOX_SDK-2.8.X folder: 
   * 'docker run --name INVOX_SDK_SAMPLES -v {PATH_TO_INVOX_SDK-2.8.X_FOLDER}:/usr/local/apache2/htdocs/ -p 8080:80 -d httpd:2.4'
5. Container 'INVOX_SDK_SAMPLES' must be created and running.
6. Open url http://127.0.0.1:8080/ or http://localhost:8080/

## Using Docker-compose
    
1. Docker and Docker-compose must be installed on your computer.
2. Docker is running on your computer.
3. Open a terminal 'cmd' or 'powershell' and move to this folder.
4. Execute command: 
   * 'docker-compose up'
5. Container 'INVOX_SDK_SAMPLES' must be created and running.
6. Open url http://127.0.0.1:8080/ or http://localhost:8080/

