Skip to content

Instantly share code, notes, and snippets.

@antifuchs
Created July 7, 2016 06:00
Show Gist options
  • Save antifuchs/0c6637a899ab64da1585c8e04fc906a4 to your computer and use it in GitHub Desktop.
Save antifuchs/0c6637a899ab64da1585c8e04fc906a4 to your computer and use it in GitHub Desktop.
FROM ubuntu:latest
ENV CONTAINER_NAME=foobar
# This is fairly silly, but does print the $CONTAINER_NAME env var
# such that tmux windows pick it up:
CMD printf '\033k%s\033\' $CONTAINER_NAME ; exec bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment