Configuring a Container definition
In this section, we shall discuss creating a container definition for a MySQL database:
- Click on
Configurefor theCustomContainer definition, as shown in the following screenshot. Some other container definitions are available as examples:

- In the
Edit containerdialog, specify aContainer name(mysql) and specifyImageasmysql, as shown in the following screenshot.
- Specify a
Soft limit(512) and aHard limit(1024) for memory. The hard limit for memory must not be less than the soft limit:

- Specify the
Container portas3306inPort Mappings, with theProtocolastcp, as shown in the following screenshot. With the Fargate launch type, only container port mappings may be configured. Host port mappings are not valid, and are set to the same value as the container port mappings:

- In the
Advanced container configuration|ENVIRONMENTsection, specify the mandatory environment variable for themysqlDocker image. The mandatory environment variable isMYSQL_ROOT_PASSWORD...