diff --git a/README.md b/README.md
index cd8eed805711442348b2c9a41dc2072a2d43b49f..e4090e7facf1d59b62b6ac2cef5e78709e93587e 100644
--- a/README.md
+++ b/README.md
@@ -82,6 +82,7 @@ networks:
 services:
   web:
     image: "xwiki:mysql-tomcat"
+    container_name: xwiki
     depends_on:
       - db
     ports:
@@ -96,6 +97,7 @@ services:
       - bridge
   db:
     image: "mysql:5.7"
+    container_name: xwiki-mysql
     volumes:
       - ./xwiki.cnf:/etc/mysql/conf.d/xwiki.cnf
       - mysql-data:/var/lib/mysql