Updated on 2024-01-16 GMT+08:00

Overview

You can create workloads on the CCI console or by calling APIs. What are the differences between the two methods and running the docker run commands?

This chapter uses the WordPress and MySQL as examples to compare the three methods.

The WordPress is a blog platform developed in hypertext preprocessor (PHP). You can set up your websites on the services that support PHP and MySQL databases, or use the WordPress as a content management system. For more information about the WordPress, visit https://wordpress.org/.

The WordPress must be used together with MySQL. The WordPress runs the content management program while MySQL serves as a database to store data. Generally, the WordPress and MySQL run in different containers, as shown in the following figure.