diff --git a/docs/user-guide.md b/docs/user-guide.md index 8e7607ee..21ed25ad 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -383,13 +383,14 @@ If you want to create normal pods without controllers you can use `restart` cons **Note**: controller object could be `deployment` or `replicationcontroller`, etc. -For e.g. `mariadb` service will become pod down here. +For e.g. `pival` service will become pod down here. This container calculated value of `pi`. ```yaml -version: "2" +version: '2' services: - mariadb: - image: centos/mariadb - restart: "no" + pival: + image: perl + command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] + restart: "on-failure" ```