why do we need to pass /bin/bash to exec into docker container code example
Example 1: why do we need to pass /bin/bash to exec into docker container
import boto3
s3 = boto3.resource('s3')
bucket = s3.Bucket('my-bucket')
# suggested by Jordon Philips
bucket.objects.all().delete()
Example 2: why do we need to pass /bin/bash to exec into docker container
aws s3 rm s3://mybucket --recursive