slim
slim copied to clipboard
Error when building againtst tensorflow-serving images
Description
When trying to slim down the tensorflow serving image, the docker-slim build command fails.
Maybe this is user error, but It is not clear from the documentation what should be taken into consideration when trying to build an image.
Expected Behavior
Command to succeed
Actual Behavior
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:
[libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/generated_message_reflection.cc:2345] CHECK failed: file != nullptr:
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: file != nullptr:
qemu: uncaught target signal 6 (Aborted) - core dumped
/usr/bin/tf_serving_entrypoint.sh: line 3: 20 Aborted tensorflow_model_server --port=8500 --rest_api_port=8501 --model_name=${MODEL_NAME} --model_base_path=${MODEL_BASE_PATH}/${MODEL_NAME} "$@"
Steps to Reproduce the Problem
docker-slim build --pull tensorflow/serving:latest
Specifications
cmd=version info=app version='darwin|Transformer|1.37.6|26a36c88a94c677efd734e874ba081dabb84a224|2022-04-23_06:07:44AM' container=false dsimage=false
cmd=version info=app outdated=false current=1.37.6 verdict='you have the latest version'
cmd=version info=app location='/usr/local/bin'
cmd=version info=host osname='other'
cmd=version info=host osbuild=21F79
cmd=version info=host version=' Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000'
cmd=version info=host release=21.5.0
cmd=version info=host sysname=darwin
cmd=version info=docker name=docker-desktop
cmd=version info=docker kernel_version=5.10.104-linuxkit
cmd=version info=docker operating_system=Docker Desktop
cmd=version info=docker ostype=linux
cmd=version info=docker server_version=20.10.14
cmd=version info=docker architecture=aarch64
cmd=version info=dclient api_version=1.41
cmd=version info=dclient min_api_version=1.12
cmd=version info=dclient build_time=2022-03-24T01:45:44.000000000+00:00
cmd=version info=dclient git_commit=87a90dc