# [MLPerf Inference - Image Classification - TFLite (Ubuntu 18.04)](https://hub.docker.com/r/ctuning/image-classification-tflite.ubuntu-18.04)
1. [Default image](#image_default) (based on [Ubuntu](https://hub.docker.com/_/ubuntu/) 18.04 latest)
- [Download](#image_default_download) or [Build](#image_default_build)
- [Run](#image_default_run)
- [Image Classification (default command)](#image_default_run_default)
- [Image Classification (custom command)](#image_default_run_custom)
- [Bash](#image_default_run_bash)
**NB:** You may need to run commands below with `sudo`, unless you
[manage Docker as a non-root user](https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user).
## Default image
### Download
```
$ docker pull ctuning/image-classification-tflite.ubuntu-18.04
```
### Build
```bash
$ ck build docker:image-classification-tflite.ubuntu-18.04
```
**NB:** Equivalent to:
```bash
$ cd `ck find docker:image-classification-tflite.ubuntu-18.04`
$ docker build -f Dockerfile -t ctuning/image-classification-tflite.ubuntu-18.04 .
```
### Run
#### Image Classification (default command)
```bash
$ ck run docker:image-classification-tflite.ubuntu-18.04
```
**NB:** Equivalent to:
```bash
$ docker run --rm ctuning/image-classification-tflite.ubuntu-18.04 \
"ck run program:image-classification-tflite --dep_add_tags.weights=mobilenet,non-quantized --env.CK_BATCH_COUNT=2"
```
#### Image Classification (custom command)
```bash
$ docker run --rm ctuning/image-classification-tflite.ubuntu-18.04 \
"ck run program:image-classification-tflite --dep_add_tags.weights=resnet,no-argmax --env.CK_BATCH_COUNT=10"
```
#### Bash
```bash
$ docker run -it --rm ctuning/image-classification-tflite.ubuntu-18.04 bash
```