You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
my docker image
ubuntu@gitlab:~/doc-admin-dev$ docker images doc-admin
REPOSITORY TAG IMAGE ID CREATED SIZE
doc-admin latest 54fad6f9b8e1 40 hours ago 552MB
when I try to run docker-slim, in an image of a container I created, it shows the following error output:
ubuntu@gitlab:~/doc-admin-dev$ docker-slim build --http-probe doc-admin:latest
docker-slim: message='join the Gitter channel to ask questions or to share your feedback' info='https://gitter.im/docker-slim/community'
docker-slim: message='join the Discord server to ask questions or to share your feedback' info='https://discord.gg/9tDyxYS'
docker-slim: message='Github discussions' info='https://github.com/docker-slim/docker-slim/discussions'
cmd=build info=param.http.probe message='using default probe'
cmd=build state=started
cmd=build info=params rt.as.user='true' keep.perms='true' tags='' target.type='image' target='doc-admin:latest' continue.mode='probe'
cmd=build state=image.inspection.start
cmd=build info=image id='sha256:54fad6f9b8e1ada00cf4229a0a8f6ada3762b805b1a00f5a40511e607ce6a346' size.bytes='552201248' size.human='552 MB'
cmd=build info=image.stack index='0' name='alpine:latest' id='sha256:c059bfaa849c4d8e4aecaeb3a10c2d9b3d85f5165c66ad3a4d937758128c4d18'
cmd=build info=image.stack name='doc-admin:latest' id='sha256:54fad6f9b8e1ada00cf4229a0a8f6ada3762b805b1a00f5a40511e607ce6a346' index='1'
cmd=build info=image.exposed_ports list='9200'
cmd=build state=image.inspection.done
cmd=build state=container.inspection.start
cmd=build info=container status='created' name='dockerslimk_71912_20220214193401' id='4cceda801ca0805c73e556f23dbc1e2b5c4df7730ed2380feac8bd3a77c07007'
cmd=build info=cmd.startmonitor status='sent'
cmd=build info=event.startmonitor.done status='received'
cmd=build info=container name='dockerslimk_71912_20220214193401' id='4cceda801ca0805c73e556f23dbc1e2b5c4df7730ed2380feac8bd3a77c07007' target.port.list='49164' target.port.info='9200/tcp => 0.0.0.0:49164' message='YOU CAN USE THESE PORTS TO INTERACT WITH THE CONTAINER'
cmd=build state=http.probe.starting message=WAIT FOR HTTP PROBE TO FINISH
cmd=build info=continue.after mode='probe' message='no input required, execution will resume when HTTP probing is completed'
cmd=build prompt='waiting for the HTTP probe to finish'
cmd=build state=http.probe.running
cmd=build info=http.probe.ports count='1' targets='49164'
cmd=build info=http.probe.commands count='1' commands='GET /'
cmd=build info=http.probe.call status='error' method='GET' target='http://127.0.0.1:49164/' attempt='1' error='Get "http://127.0.0.1:49164/": read tcp 127.0.0.1:56362->127.0.0.1:49164: read: connection reset by peer' time='2022-02-14T19:34:14Z'
cmd=build info=http.probe.call time='2022-02-14T19:34:22Z' status='error' method='GET' target='http://127.0.0.1:49164/' attempt='2' error='Get "http://127.0.0.1:49164/": read tcp 127.0.0.1:56368->127.0.0.1:49164: read: connection reset by peer'
cmd=build info=http.probe.call status='error' method='GET' target='http://127.0.0.1:49164/' attempt='3' error='Get "http://127.0.0.1:49164/": read tcp 127.0.0.1:56372->127.0.0.1:49164: read: connection reset by peer' time='2022-02-14T19:34:30Z'
cmd=build info=http.probe.call time='2022-02-14T19:34:38Z' status='error' method='GET' target='http://127.0.0.1:49164/' attempt='4' error='Get "http://127.0.0.1:49164/": read tcp 127.0.0.1:56378->127.0.0.1:49164: read: connection reset by peer'
cmd=build info=http.probe.call method='GET' target='http://127.0.0.1:49164/' attempt='5' error='Get "http://127.0.0.1:49164/": read tcp 127.0.0.1:56382->127.0.0.1:49164: read: connection reset by peer' time='2022-02-14T19:34:46Z' status='error'
cmd=build info=http.probe.summary total='5' failures='5' successful='0'
cmd=build state=http.probe.done warning=no.successful.calls
cmd=build error=probe.error message='no.successful.calls'
docker-slim: container stdout:
docker-slim: container stderr:
time="2022-02-14T19:34:02Z" level=info msg="sensor: args => []string{"/opt/dockerslim/bin/docker-slim-sensor"}"
time="2022-02-14T19:34:02Z" level=info msg="sensor: waiting for commands..."
time="2022-02-14T19:34:02Z" level=info msg="sensor: monitor starting..."
time="2022-02-14T19:34:02Z" level=info msg="fanmon: Run"
time="2022-02-14T19:34:02Z" level=info msg="ptmon: Run"
time="2022-02-14T19:34:05Z" level=info msg="sensor: waiting for monitor to complete startup..."
time="2022-02-14T19:34:05Z" level=info msg="sensor: monitor started (true)..."
docker-slim: end of container logs =============
cmd=build state=exited code=-1
Beta Was this translation helpful? Give feedback.
All reactions