Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

beanstalkd

build

docker build -t zouchao2010/beanstalkd .

pull

docker pull zouchao2010/beanstalkd

run(创建并运行一个容器,退出时删除容器)

docker run  --name beanstalkd \
            -h beanstalkd \
            -p 11300:11300 \
            -v /data/beanstalkd:/var/lib/beanstalkd/data \
            -it --rm zouchao2010/beanstalkd

run(创建并运行一个容器,以守护进程方式)

docker run  --name beanstalkd \
            --restart=always \
            -m 1024m \
            -h beanstalkd \
            -p 11300:11300 \
            -v /data/beanstalkd:/var/lib/beanstalkd/data \
            -dt zouchao2010/beanstalkd

start|stop|restart(已存在的容器)

docker start|stop|restart beanstalkd

exec(使用已运行的容器执行命令)

docker exec -it beanstalkd /bin/bash
Docker Pull Command
Owner
zouchao2010
Source Repository