This is a course published by FCF Continuous Learning. For more information see this page: https://phptraining.net/cloudtechnician
- Install Docker
- If you are running Windows, start here: https://docs.docker.com/docker-for-windows/install/.
- If you are on a Mac, start here: https://docs.docker.com/docker-for-mac/install/.
- If you are on Linux, have a look here: https://docs.docker.com/engine/install/.
- Install Docker Compose. For all operating systems, start here: https://docs.docker.com/compose/install/.
- Install the source code associated with this book onto your local computer.
- If you have installed git, use the following command:
git clone https://github.com/phpcl/core_cert_php8_tech.git /path/to/repo
* Otherwise, you can simply download and unzip from this URL: [https://github.com/phpcl/core_cert_php8_tech/archive/main.zip](https://github.com/phpcl/core_cert_php8_tech/archive/main.zip)
* And then unzip into a folder you create which we refer to as `/path/to/repo` in this guide.
- Build docker container associated with this book online:
- From your local computer, open a command prompt (terminal window).
- Change directory to
/path/to/repo
. - First time only, issue this command to build the environment:
- If you are running Windows:
init.bat build
- If you are running Linux or Mac:
init.sh build
- If you are running Windows:
- Please note that the initial build might take up to 15 minutes to complete!
- Once the container has been built, issue this command the bring the container online:
- From your local computer, open a command prompt (terminal window).
- Change directory to
/path/to/repo
. - Bring the docker container online in background mode:
- If you are running Windows:
init.bat up
- If you are running Linux or Mac:
init.sh up
- If you are running Windows:
- To access the running docker container web server:
- Open the browser on your local computer
- Enter this URL:
http://localhost:8888
- To open a command shell into the running docker container:
- From your local computer, open a command prompt (terminal window).
- If you are running Windows:
init.bat shell
- If you are running Linux or Mac:
init.sh shell
- If you are running Windows:
- From your local computer, open a command prompt (terminal window).
- When you are finished working with the container, bring it offline using the following commands:
- From your local computer, open a command prompt (terminal window).
- If you are running Windows:
init.bat down
- If you are running Linux or Mac:
init.sh down
- If you are running Windows:
- From your local computer, open a command prompt (terminal window).