GithubHelp home page GithubHelp logo

Comments (10)

mzz2017 avatar mzz2017 commented on May 20, 2024 1

@AIxWall 先把容器停下: docker stop 容器名,然后运行另一个容器,修改密码: docker run -it --volumes-from 刚停的容器名 mzz2017/v2raya --reset-password

from v2raya.

mzz2017 avatar mzz2017 commented on May 20, 2024

目前可以通过删除/etc/v2ray/v2raya.json中的accounts来重新创建账号,将来考虑以command的方式创建、列出、修改账户。

from v2raya.

mzz2017 avatar mzz2017 commented on May 20, 2024

image

0.6.7.2新增--reset-password

from v2raya.

zz5678 avatar zz5678 commented on May 20, 2024

目前新版已经没有 /etc/v2ray/v2raya.json 了,只有一个 0.dat 文件,升级系统情况下,备份/恢复这个数据文件就可以了吗?

from v2raya.

mzz2017 avatar mzz2017 commented on May 20, 2024

目前新版已经没有 /etc/v2ray/v2raya.json 了,只有一个 0.dat 文件,升级系统情况下,备份/恢复这个数据文件就可以了吗?

是的

from v2raya.

AIxWall avatar AIxWall commented on May 20, 2024

docker 怎么修改密码

from v2raya.

popofthedead avatar popofthedead commented on May 20, 2024

windows如何修改密码?

from v2raya.

MarksonHon avatar MarksonHon commented on May 20, 2024

windows如何修改密码?

如果你是scoop安装的,那么直接
v2raya --lite --reset-password
如果你是安装包安装的,那就先停止v2rayA这个服务,然后进入安装路径,打开一个具有管理员权限的PowerShell或cmd窗口,然后运行:
v2raya --lite --reset-password --config ./

from v2raya.

popofthedead avatar popofthedead commented on May 20, 2024

我是安装包安装的,实测无法直接用v2raya命令,必须用v2raya_windows_x64_*.exe

from v2raya.

1798972 avatar 1798972 commented on May 20, 2024

Docker下重置密码

1.停止旧的容器A

docker stop xx

2.利用新容器B重置密码

docker run -it --volumes-from 刚停的容器名 mzz2017/v2raya --reset-password

3.重启旧容器A

此时容器A的密码已经被重置,重新打开后管页面时提示创建账户,但旧数据会保留。

docker start xx

4.可以删除临时容器B

docker rm clever_hermann

from v2raya.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.