The -restart ensures that it will be re-run automatically at hostīoot. Replace logsN and XXXXX with details from one of your v=/var/run/docker.sock:/var/run/docker.sock gliderlabs/logspout \ To start a logspout container, run: $ docker run -restart=always -d \ Docker syslog driver ( -log-driver=syslog 1.7 only).If neither of the methods above fit your environment, these are also viable: To send logs from applications running in a Docker container, choose based on your Docker version and deployment preferences. Unix and BSD text log files (remote_syslog2)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |