找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 24342|回复: 124

[N1盒子] Docker运行Openwrt并作为主路由

 火.. [复制链接]
头像被屏蔽
发表于 2019-5-2 13:44 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-5-2 13:59 | 显示全部楼层
教程应该可以,可是有点贵
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:01 | 显示全部楼层
支持下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:10 | 显示全部楼层
有点贵有点贵
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:23 | 显示全部楼层
正好需要!!
是armbian的Docker吗,看了好几个教程都没搞好
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:27 | 显示全部楼层
root@aml:~#  docker network create -d macvlan --subnet=192.168.123.0/24 --gateway=192.168.123.1 -o parent=eth0 macnet
Error response from daemon: failed to update macvlan store for object type *macvlan.configuration: open /var/lib/docker/network/files/local-kv.db: no such file or directory
root@aml:~#

看了好几个教程还是这样 求解
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
 楼主| 发表于 2019-5-2 14:32 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:35 | 显示全部楼层
2540719484 发表于 2019-5-2 14:32
请检查docker是否安装正确。

正确安装的.我昨晚还用docker成功安装了homeassitant来着

root@aml:~# docker

Usage:        docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default "/root/.docker")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default "/root/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default "/root/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default "/root/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  builder     Manage builds
  config      Manage Docker configs
  container   Manage containers
  engine      Manage the docker engine
  image       Manage images
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run 'docker COMMAND --help' for more information on a command.
root@aml:~#
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:36 | 显示全部楼层
有点贵,来学习下,目前用不到
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:40 | 显示全部楼层
不知道能不能解决连接数只能4000+的问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
 楼主| 发表于 2019-5-2 14:43 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 14:44 | 显示全部楼层
2540719484 发表于 2019-5-2 14:43
但错误原因也是因为docker。
错误原因里面是说无法为对象类型更新macvlan。
不存在此文件或目录。

我把docker卸载重装看看
谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
 楼主| 发表于 2019-5-2 14:59 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-2 15:07 | 显示全部楼层
k2p可以不 没交换机
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
 楼主| 发表于 2019-5-2 15:14 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 17:12

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表