Skip to content

zouchao2010/beanstalkd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published