Skip to content

Commit

Permalink
Merge pull request #14 from moetiker/patch-4
Browse files Browse the repository at this point in the history
service to remove docker file
  • Loading branch information
oetiker authored Mar 4, 2021
2 parents f33edd8 + 206166d commit 37d6338
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ubuntu/helpers/remove_dockerenv_file.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Remove dockerenv file
After=network.target auditd.service

[Service]
Type=oneshot
ExecStart=/bin/rm -f /.dockerenv
ExecStartPost=/bin/systemctl disable remove_dockerenv_file.service

[Install]
WantedBy=multi-user.target
# last line

0 comments on commit 37d6338

Please sign in to comment.