# Quick Start, with Java, using Docker

 

This guide shows how to install and run Vespa on a single machine using Docker - it builds and deploys an application, feeds some data and issues queries. This application contains Java components, there's also [a version that doesn't use Java](vespa-quick-start.html). See [Getting Started](getting-started.html) for troubleshooting, next steps and other guides.

**Prerequisites:**

- Linux, macOS or Windows 10 Pro on x86\_64 or arm64, with Podman or [Docker](https://docs.docker.com/engine/install/) installed. See [Docker Containers](/en/operations-selfhosted/docker-containers.html) for system limits and other settings. For CPUs older than Haswell (2013), see [CPU Support](/en/cpu-support.html)
- Memory: Minimum 4 GB RAM dedicated to Docker/Podman. [Memory recommendations](/en/operations-selfhosted/node-setup.html#memory-settings). 
- Disk: Avoid `NO_SPACE` - the vespaengine/vespa container image + headroom for data requires disk space. [Read more](/en/operations/feed-block.html). 
- [Homebrew](https://brew.sh/) to install the [Vespa CLI](/en/vespa-cli.html), or download the Vespa CLI from [Github releases](https://github.com/vespa-engine/vespa/releases). 
- [Java 17](https://openjdk.org/projects/jdk/17/).
- [Apache Maven](https://maven.apache.org/install.html) is used to build the application.

This guide is tested with _vespaengine/vespa:8.560.11_ container image.

## Running Vespa in Docker

1. **Validate the environment:**

2. **Install the Vespa CLI:**

3. **Start a Vespa Docker container:**

4. **Initialize `myapp/` to a copy of a sample [application package](application-packages.html):**

5. **Build it:**

6. **Deploy it:**

7. **Feed documents:**

8. **Issue queries:**

## Next steps

Check out [getting started](getting-started.html) for more tutorials and use cases which Vespa is great for.

Explore the Vespa [sample applications](https://github.com/vespa-engine/sample-apps).

```
$ docker rm -f vespa
```

