devilbox/docs/howto/uid-and-gid/find-uid-and-gid-on-win.rst

52 lines
1.0 KiB
ReStructuredText
Raw Normal View History

2018-07-03 13:47:58 +00:00
:orphan:
.. _howto_find_uid_and_gid_on_win:
*****************************************
Find your user id and group id on Windows
*****************************************
**Table of Contents**
.. contents:: :local:
Docker for Windows
==================
2018-07-08 10:23:57 +00:00
On Docker for Windows it is **not necessary** to change uid and gid in your ``.env`` file.
.. note::
Docker for Windows is internally using network shares (SMB) to mount Docker volumes.
This does not require to syncronize file and directoriy permissions via uid and gid.
2018-07-03 13:47:58 +00:00
Docker Toolbox
==============
On Docker Toolbox it is important that you open up a Docker environment prepared terminal window.
.. seealso::
* :ref:`howto_open_terminal_on_win`
Find your user id (``uid``)
---------------------------
Type the following command to retrieve the correct ``uid``.
.. code-block:: bash
host> id -u
Find your group id (``gid``)
----------------------------
Type the following command to retrieve the correct ``gid``.
.. code-block:: bash
host> id -g