Skip to content

Instantly share code, notes, and snippets.

View shemul's full-sized avatar
🏠
Working from home

Kief H. Shemul shemul

🏠
Working from home
  • TomTom, Delivery Hero
  • Amsterdam, Netherlands
View GitHub Profile
@shemul
shemul / gist:638d0ee92aa09d105a32218a7a31033b
Last active April 27, 2019 18:49 — forked from 7rin0/gist:ea890d2d4bf25a890b86aff01290e7d0
Docker exec root or default user
# Root.
$ docker exec -u 0 -it {container_id/image_name} bash
or
# Default container's user.
$ docker exec -it {container_id/image_name} bash