# Debugging

A container with some useful debugging tools pre-installed meant to be attached
to an already running container.

## Connecting to a running container

```bash
CONTAINER_NAME=cloudgate-running docker run --rm \
  -it \
  --net=container:${CONTAINER_NAME} \
  --pid=container:${CONTAINER_NAME} \
  --cap-add sys_admin \
  --cap-add sys_ptrace \
  instructure/debugging bash
```

# Debugging

A container with some useful debugging tools pre-installed meant to be attached
to an already running container.

## Connecting to a running container

```console
CONTAINER_NAME=cloudgate-running docker run --rm \
  -it \
  --net=container:${CONTAINER_NAME} \
  --pid=container:${CONTAINER_NAME} \
  --cap-add sys_admin \
  --cap-add sys_ptrace \
  instructure/debugging bash
```

Annotate using console instead of bash
Annotate using console instead of bash

This should give us a bit nicer highlighting in github.

Change-Id: I986f0dc02d80f71ae5b6c321c520552a4f984cda
Reviewed-on: https://gerrit.instructure.com/177670
Reviewed-by: Mark Severson <cdf1f90aee9d0d073a2a24141ebc71887f3ba533@instructure.com>
Tested-by: Tyler Pickett <3f20fcf21b1970c94966160adcf831eedd808a06@instructure.com>
QA-Review: Tyler Pickett <3f20fcf21b1970c94966160adcf831eedd808a06@instructure.com>
Product-Review: Tyler Pickett <3f20fcf21b1970c94966160adcf831eedd808a06@instructure.com>
