close

Filter

loading table of contents...

Blueprint Developer Manual / Version 2010

Table Of Contents

3.2.2.2 Starting the Docker Setup

Make sure that you have build the workspace and the Docker images. To build the Docker images the Maven profile with-docker must be activated. To check whether you have build the images you can list the available images using the following command:

docker images

The result should look like this but should contain image names like cae-live or content-server:

REPOSITORY                 TAG     IMAGE ID      CREATED       SIZE
coremedia/cae-preview      latest  a8f9d245fbbe  10 hours ago  296MB
coremedia/content-server   latest  8f6045472222  10 hours ago  272MB

If there are no images listed, you probably did not activate the Maven profile. To build with the active Maven profile, run the following command:

mvn clean install -Pwith-docker

After the images have been built, you can change the directory to the docker setup:

cd global/deployment/docker

Prestart Check

In order to make sure that there are no conflicts with preexisting setups, you can run the following steps to delete all preexisting setups:

  • docker-compose down -v this command should stop and remove all running containers and volumes that are associated with the project defined by the compose files. The execution of this command needs to be successful to start up a new clean system. The warnings can be ignored, because if the volume does not exist, it cannot be removed.

  • docker ps --format "table {{.Names}}\t{{.Ports}}" -a this command lists all running containers and their mapped ports. Make sure that these ports do not conflict with the standard port mappings of the CoreMedia applications, when run on a single node.

Search Results

Table Of Contents