Skip to content

Commit

Permalink
release 3.1-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jan 13, 2019
1 parent c852030 commit f6f108b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Circle CI](https://circleci.com/gh/sameersbn/docker-apt-cacher-ng.svg?style=shield)](https://circleci.com/gh/sameersbn/docker-apt-cacher-ng) [![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/apt-cacher-ng/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/apt-cacher-ng)

# sameersbn/apt-cacher-ng:3.1-1
# sameersbn/apt-cacher-ng:3.1-2

- [Introduction](#introduction)
- [Contributing](#contributing)
Expand Down Expand Up @@ -53,7 +53,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/apt-cacher-ng)
```bash
docker pull sameersbn/apt-cacher-ng:3.1-1
docker pull sameersbn/apt-cacher-ng:3.1-2
```

Alternatively you can build the image yourself.
Expand All @@ -70,7 +70,7 @@ Start Apt-Cacher NG using:
docker run --name apt-cacher-ng --init -d --restart=always \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:3.1-1
sameersbn/apt-cacher-ng:3.1-2
```

*Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
Expand All @@ -83,7 +83,7 @@ You can customize the launch command of Apt-Cacher NG server by specifying argum
docker run --name apt-cacher-ng --init -it --rm \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:3.1-1 -h
sameersbn/apt-cacher-ng:3.1-2 -h
```

## Persistence
Expand Down Expand Up @@ -161,7 +161,7 @@ Using the [Command-line arguments](#command-line-arguments) feature, you can spe
docker run --name apt-cacher-ng --init -it --rm \
--publish 3142:3142 \
--volume /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng \
sameersbn/apt-cacher-ng:3.1-1 -e
sameersbn/apt-cacher-ng:3.1-2 -e
```

The same can also be achieved on a running instance by visiting the url http://localhost:3142/acng-report.html in the web browser and selecting the **Start Scan and/or Expiration** option.
Expand All @@ -173,7 +173,7 @@ To upgrade to newer releases:
1. Download the updated Docker image:

```bash
docker pull sameersbn/apt-cacher-ng:3.1-1
docker pull sameersbn/apt-cacher-ng:3.1-2
```

2. Stop the currently running image:
Expand All @@ -193,7 +193,7 @@ To upgrade to newer releases:
```bash
docker run --name apt-cacher-ng --init -d \
[OPTIONS] \
sameersbn/apt-cacher-ng:3.1-1
sameersbn/apt-cacher-ng:3.1-2
```

## Shell Access
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1-1
3.1-2
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '2.2'
services:
apt-cacher-ng:
restart: always
image: sameersbn/apt-cacher-ng:3.1-1
image: sameersbn/apt-cacher-ng:3.1-2
init: true
ports:
- "3142:3142"
Expand Down

0 comments on commit f6f108b

Please sign in to comment.