Vi has two modes, read and write.
When in read mode, press i to enter write mode.
When in write mode, press esc to exit to read mode.
In read mode, input : followed by x to save the change and exit, or : and q! to discard the change.
| version: "3.8" | |
| services: | |
| docker: | |
| image: docker:dind | |
| container_name: jenkins_docker | |
| restart: always | |
| privileged: true | |
| networks: | |
| jenkins: | |
| aliases: |