First identify your image.
$ docker ps --format "{{.ID}}: {{.Image}} {{.Names}}"
3d2fb2ab2ca5: jenkins-docker jenkins-docker_1
Then login into the image as root.
$ docker container exec -u 0 -it jenkins-docker_1 /bin/bash
-- sqlite | |
CREATE TABLE IF NOT EXISTS calendar ( | |
d date UNIQUE NOT NULL, | |
dayofweek INT NOT NULL, | |
weekday TEXT NOT NULL, | |
quarter INT NOT NULL, | |
year INT NOT NULL, | |
month INT NOT NULL, | |
day INT NOT NULL | |
); |
import json, hmac, hashlib, time, requests, base64 | |
from requests.auth import AuthBase | |
# Create custom authentication for Exchange | |
class CoinbaseExchangeAuth(AuthBase): | |
def __init__(self, api_key, secret_key, passphrase): | |
self.api_key = api_key | |
self.secret_key = secret_key | |
self.passphrase = passphrase |
First identify your image.
$ docker ps --format "{{.ID}}: {{.Image}} {{.Names}}"
3d2fb2ab2ca5: jenkins-docker jenkins-docker_1
Then login into the image as root.
$ docker container exec -u 0 -it jenkins-docker_1 /bin/bash